| #ifndef __ARCH_ORION5X_MPP_H |
| #define __ARCH_ORION5X_MPP_H |
| * This MPP pin is used as a generic GPIO pin. Valid for |
| * MPPs 0-15 and device bus data pins 16-31. On 5182, also |
| * This MPP is used as PCIe_RST_OUTn pin. Valid for |
| * This MPP is used as PCI arbiter pin (REQn/GNTn). |
| * Valid for MPPs 0-7 only. |
| * This MPP is used as PCI_PMEn pin. Valid for MPP 2 only. |
| * This MPP is used as GigE half-duplex (COL, CRS) or GMII |
| * (RXERR, CRS, TXERR, TXD[7:4], RXD[7:4]) pin. Valid for |
| * This MPP is used as NAND REn/WEn pin. Valid for MPPs |
| * 4-7 and 12-17 only, and only on the 5181l/5182/5281. |
| * This MPP is used as a PCI clock output pin. Valid for |
| * MPPs 6-7 only, and only on the 5181l. |
| * This MPP is used as a SATA presence/activity LED. |
| * Valid for MPPs 4-7 and 12-15 only, and only on the 5182. |
| * This MPP is used as UART1 RXD/TXD/CTSn/RTSn pin. |
| * Valid for MPPs 16-19 only. |
| struct orion5x_mpp_mode { |
| enum orion5x_mpp_type type; |
| void orion5x_mpp_conf(struct orion5x_mpp_mode *mode); |