Konstantin Porotchkin | 656e6cc | 2016-12-08 12:22:29 +0200 | [diff] [blame] | 1 | Functions of Armada CP110 pin controller |
| 2 | Function 0x0 for any MPP ID activates GPIO pin mode |
| 3 | Function 0xc for any MPP ID activates DEBUG_BUS pin mode |
| 4 | ------------------------------------------------------------------------------- |
| 5 | MPP# 0x1 0x2 0x3 0x4 |
| 6 | ------------------------------------------------------------------------------- |
| 7 | 0 DEV_ALE[1] AU_I2SMCLK GE0_RXD[3] TDM_PCLK |
| 8 | 1 DEV_ALE[0] AU_I2SDO_SPDIFO GE0_RXD[2] TDM_DRX |
| 9 | 2 DEV_AD[15] AU_I2SEXTCLK GE0_RXD[1] TDM_DTX |
| 10 | 3 DEV_AD[14] AU_I2SLRCLK GE0_RXD[0] TDM_FSYNC |
| 11 | 4 DEV_AD[13] AU_I2SBCLK GE0_RXCTL TDM_RSTn |
| 12 | 5 DEV_AD[12] AU_I2SDI GE0_RXCLK TDM_INTn |
| 13 | 6 DEV_AD[11] - GE0_TXD[3] SPI0_CSn[2] |
| 14 | 7 DEV_AD[10] - GE0_TXD[2] SPI0_CSn[1] |
| 15 | 8 DEV_AD[9] - GE0_TXD[1] SPI0_CSn[0] |
| 16 | 9 DEV_AD[8] - GE0_TXD[0] SPI0_MOSI |
| 17 | 10 DEV_READYn - GE0_TXCTL SPI0_MISO |
| 18 | 11 DEV_WEn[1] - GE0_TXCLKOUT SPI0_CLK |
| 19 | 12 DEV_CLK_OUT NF_RBn[1] SPI1_CSn[1] GE0_RXCLK |
| 20 | 13 DEV_BURSTn NF_RBn[0] SPI1_MISO GE0_RXCTL |
| 21 | 14 DEV_BOOTCSn DEV_CSn[0] SPI1_CSn[0] SPI0_CSn[3] |
| 22 | 15 DEV_AD[7] - SPI1_MOSI - |
| 23 | 16 DEV_AD[6] - SPI1_CLK - |
| 24 | 17 DEV_AD[5] - - GE0_TXD[3] |
| 25 | 18 DEV_AD[4] - - GE0_TXD[2] |
| 26 | 19 DEV_AD[3] - - GE0_TXD[1] |
| 27 | 20 DEV_AD[2] - - GE0_TXD[0] |
| 28 | 21 DEV_AD[1] - - GE0_TXCTL |
| 29 | 22 DEV_AD[0] - - GE0_TXCLKOUT |
| 30 | 23 DEV_A[1] - - - |
| 31 | 24 DEV_A[0] - - - |
| 32 | 25 DEV_OEn - - - - |
| 33 | 26 DEV_WEn[0] - - - |
| 34 | 27 DEV_CSn[0] SPI1_MISO MSS_GPIO[4] GE0_RXD[3] |
| 35 | 28 DEV_CSn[1] SPI1_CSn[0] MSS_GPIO[5] GE0_RXD[2] |
| 36 | 29 DEV_CSn[2] SPI1_MOSI MSS_GPIO[6] GE0_RXD[1] |
| 37 | 30 DEV_CSn[3] SPI1_CLK MSS_GPIO[7] GE0_RXD[0] |
| 38 | 31 DEV_A[2] - MSS_GPIO[4] - |
| 39 | 32 MII_COL MII_TXERR MSS_SPI_MISO TDM_DRX |
| 40 | 33 MII_TXCLK SDIO_PWR1[0] MSS_SPI_CSn TDM_FSYNC |
| 41 | 34 MII_RXERR SDIO_PWR1[1] MSS_SPI_MOSI TDM_DTX |
| 42 | 35 SATA1_PRESENT_ACTIVEn TWSI1_SDA MSS_SPI_CLK TDM_PCLK |
| 43 | 36 SYNCE2_CLK TWSI1_SCK PTP_CLK SYNCE1_CLK |
| 44 | 37 UART2_RXD TWSI0_SCK PTP_PCLK_OUT TDM_INTn |
| 45 | 38 UART2_TXD TWSI0_SDA PTP_PULSE TDM_RSTn |
| 46 | 39 SDIO_WR_PROTECT - - AU_I2SBCLK PTP_CLK |
| 47 | 40 SDIO_PWR1[1] SYNCE1_CLK MSS_TWSI_SDA AU_I2SDO_SPDIFO |
| 48 | 41 SDIO_PWR1[0] SDIO_BUS_PWR MSS_TWSI_SCK AU_I2SLRCLK |
| 49 | 42 SDIO_V18_EN SDIO_WR_PROTECT SYNCE2_CLK AU_I2SMCLK |
| 50 | 43 SDIO_CARD_DETECT - SYNCE1_CLK AU_I2SEXTCLK |
| 51 | 44 GE1_TXD[2] - - - |
| 52 | 45 GE1_TXD[3] - - - |
| 53 | 46 GE1_TXD[1] - - - |
| 54 | 47 GE1_TXD[0] - - - |
| 55 | 48 GE1_TXCTL_MII_TXEN - - - |
| 56 | 49 GE1_TXCLKOUT MII_CRS - - |
| 57 | 50 GE1_RXCLK MSS_TWSI_SDA - - |
| 58 | 51 GE1_RXD[0] MSS_TWSI_SCK - - |
| 59 | 52 GE1_RXD[1] SYNCE1_CLK - SYNCE2_CLK |
| 60 | 53 GE1_RXD[2] - PTP_CLK - |
| 61 | 54 GE1_RXD[3] SYNCE2_CLK PTP_PCLK_OUT SYNCE1_CLK |
| 62 | 55 GE1_RXCTL_MII_RXDV - PTP_PULSE - |
| 63 | 56 - - - TDM_DRX |
| 64 | 57 - MSS_TWSI_SDA PTP_PCLK_OUT TDM_INTn |
| 65 | 58 - MSS_TWSI_SCK PTP_CLK TDM_RSTn |
| 66 | 59 MSS_GPIO[7] SYNCE2_CLK - TDM_FSYNC |
| 67 | 60 MSS_GPIO[6] - PTP_PULSE TDM_DTX |
| 68 | 61 MSS_GPIO[5] - PTP_CLK TDM_PCLK |
| 69 | 62 MSS_GPIO[4] SYNCE1_CLK PTP_PCLK_OUT - |
| 70 | |
| 71 | ------------------------------------------------------------------------------- |
| 72 | MPP# 0x5 0x6 0x7 |
| 73 | ------------------------------------------------------------------------------- |
| 74 | 0 - PTP_PULSE MSS_TWSI_SDA |
| 75 | 1 - PTP_CLK MSS_TWSI_SCK |
| 76 | 2 MSS_UART_RXD PTP_PCLK_OUT TWSI1_SCK |
| 77 | 3 MSS_UART_TXD PCIe_RSTOUTn TWSI1_SDA |
| 78 | 4 MSS_UART_RXD UART1_CTS PCIe0_CLKREQ |
| 79 | 5 MSS_UART_TXD UART1_RTS PCIe1_CLKREQ |
| 80 | 6 AU_I2SEXTCLK SATA1_PRESENT_ACTIVEn PCIe2_CLKREQ |
| 81 | 7 SPI1_CSn[1] SATA0_PRESENT_ACTIVEn LED_DATA |
| 82 | 8 SPI1_CSn[0] UART0_CTS LED_STB |
| 83 | 9 SPI1_MOSI - PCIe_RSTOUTn |
| 84 | 10 SPI1_MISO UART0_CTS SATA1_PRESENT_ACTIVEn |
| 85 | 11 SPI1_CLK UART0_RTS LED_CLK |
| 86 | 12 - - - |
| 87 | 13 - - - |
| 88 | 14 AU_I2SEXTCLK SPI0_MISO SATA0_PRESENT_ACTIVEn |
| 89 | 15 - SPI0_MOSI - |
| 90 | 16 - - - |
| 91 | 17 - - - |
| 92 | 18 - - - |
| 93 | 19 - - - |
| 94 | 20 - - - |
| 95 | 21 - - - |
| 96 | 22 - - - |
| 97 | 23 AU_I2SMCLK - - |
| 98 | 24 AU_I2SLRCLK - - |
| 99 | 25 AU_I2SDO_SPDIFO - - |
| 100 | 26 AU_I2SBCLK - - |
| 101 | 27 SPI0_CSn[4] - - |
| 102 | 28 SPI0_CSn[5] PCIe2_CLKREQ PTP_PULSE |
| 103 | 29 SPI0_CSn[6] PCIe1_CLKREQ PTP_CLK |
| 104 | 30 SPI0_CSn[7] PCIe0_CLKREQ PTP_PCLK_OUT |
| 105 | 31 - PCIe_RSTOUTn - |
| 106 | 32 AU_I2SEXTCLK AU_I2SDI GE_MDIO |
| 107 | 33 AU_I2SMCLK SDIO_BUS_PWR - |
| 108 | 34 AU_I2SLRCLK SDIO_WR_PROTECT GE_MDC |
| 109 | 35 AU_I2SDO_SPDIFO SDIO_CARD_DETECT XG_MDIO |
| 110 | 36 AU_I2SBCLK SATA0_PRESENT_ACTIVEn XG_MDC |
| 111 | 37 MSS_TWSI_SCK SATA1_PRESENT_ACTIVEn GE_MDC |
| 112 | 38 MSS_TWSI_SDA SATA0_PRESENT_ACTIVEn GE_MDIO |
| 113 | 39 SPI0_CSn[1] - - |
| 114 | 40 PTP_PCLK_OUT SPI0_CLK UART1_TXD |
| 115 | 41 PTP_PULSE SPI0_MOSI UART1_RXD |
| 116 | 42 MSS_UART_TXD SPI0_MISO UART1_CTS |
| 117 | 43 MSS_UART_RXD SPI0_CSn[0] UART1_RTS |
| 118 | 44 - - UART0_RTS |
| 119 | 45 - - UART0_TXD |
| 120 | 46 - - UART1_RTS |
| 121 | 47 SPI1_CLK - UART1_TXD |
| 122 | 48 SPI1_MOSI - - |
| 123 | 49 SPI1_MISO - UART1_RXD |
| 124 | 50 SPI1_CSn[0] UART2_TXD UART0_RXD |
| 125 | 51 SPI1_CSn[1] UART2_RXD UART0_CTS |
| 126 | 52 SPI1_CSn[2] - UART1_CTS |
| 127 | 53 SPI1_CSn[3] - UART1_RXD |
| 128 | 54 - - - |
| 129 | 55 - - - |
| 130 | 56 AU_I2SDO_SPDIFO SPI0_CLK UART1_RXD |
| 131 | 57 AU_I2SBCLK SPI0_MOSI UART1_TXD |
| 132 | 58 AU_I2SDI SPI0_MISO UART1_CTS |
| 133 | 59 AU_I2SLRCLK SPI0_CSn[0] UART0_CTS |
| 134 | 60 AU_I2SMCLK SPI0_CSn[1] UART0_RTS |
| 135 | 61 AU_I2SEXTCLK SPI0_CSn[2] UART0_TXD |
| 136 | 62 SATA1_PRESENT_ACTIVEn SPI0_CSn[3] UART0_RXD |
| 137 | |
| 138 | ------------------------------------------------------------------------------- |
| 139 | MPP# 0x8 0x9 0xA |
| 140 | ------------------------------------------------------------------------------- |
| 141 | 0 UART0_RXD SATA0_PRESENT_ACTIVEn GE_MDIO |
| 142 | 1 UART0_TXD SATA1_PRESENT_ACTIVEn GE_MDC |
| 143 | 2 UART1_RXD SATA0_PRESENT_ACTIVEn XG_MDC |
| 144 | 3 UART1_TXD SATA1_PRESENT_ACTIVEn XG_MDIO |
| 145 | 4 UART3_RXD - GE_MDC |
| 146 | 5 UART3_TXD - GE_MDIO |
| 147 | 6 UART0_RXD PTP_PULSE - |
| 148 | 7 UART0_TXD PTP_CLK - |
| 149 | 8 UART2_RXD PTP_PCLK_OUT SYNCE1_CLK |
| 150 | 9 - - SYNCE2_CLK |
| 151 | 10 - - - |
| 152 | 11 UART2_TXD SATA0_PRESENT_ACTIVEn - |
| 153 | 12 - - - |
| 154 | 13 MSS_SPI_MISO - - |
| 155 | 14 MSS_SPI_CSn - - |
| 156 | 15 MSS_SPI_MOSI - - |
| 157 | 16 MSS_SPI_CLK - - |
| 158 | 17 - - - |
| 159 | 18 - - - |
| 160 | 19 - - - |
| 161 | 20 - - - |
| 162 | 21 - - - |
| 163 | 22 - - - |
| 164 | 23 - - - |
| 165 | 24 - - - |
| 166 | 25 - - - |
| 167 | 26 - - - |
| 168 | 27 GE_MDIO SATA0_PRESENT_ACTIVEn UART0_RTS |
| 169 | 28 GE_MDC SATA1_PRESENT_ACTIVEn UART0_CTS |
| 170 | 29 MSS_TWSI_SDA SATA0_PRESENT_ACTIVEn UART0_RXD |
| 171 | 30 MSS_TWSI_SCK SATA1_PRESENT_ACTIVEn UART0_TXD |
| 172 | 31 GE_MDC - - |
| 173 | 32 SDIO_V18_EN PCIe1_CLKREQ MSS_GPIO[0] |
| 174 | 33 XG_MDIO PCIe2_CLKREQ MSS_GPIO[1] |
| 175 | 34 - PCIe0_CLKREQ MSS_GPIO[2] |
| 176 | 35 GE_MDIO PCIe_RSTOUTn MSS_GPIO[3] |
| 177 | 36 GE_MDC PCIe2_CLKREQ MSS_GPIO[5] |
| 178 | 37 XG_MDC PCIe1_CLKREQ MSS_GPIO[6] |
| 179 | 38 XG_MDIO AU_I2SEXTCLK MSS_GPIO[7] |
| 180 | 39 SATA1_PRESENT_ACTIVEn MSS_GPIO[0] |
| 181 | 40 GE_MDIO SATA0_PRESENT_ACTIVEn MSS_GPIO[1] |
| 182 | 41 GE_MDC SATA1_PRESENT_ACTIVEn MSS_GPIO[2] |
| 183 | 42 XG_MDC SATA0_PRESENT_ACTIVEn MSS_GPIO[4] |
| 184 | 43 XG_MDIO SATA1_PRESENT_ACTIVEn MSS_GPIO[5] |
| 185 | 44 - - - |
| 186 | 45 - PCIe_RSTOUTn - |
| 187 | 46 - - - |
| 188 | 47 GE_MDC CLKOUT - |
| 189 | 48 XG_MDC - - |
| 190 | 49 GE_MDIO PCIe0_CLKREQ SDIO_V18_EN |
| 191 | 50 XG_MDIO - SDIO_PWR1[1] |
| 192 | 51 - - SDIO_PWR1[0] |
| 193 | 52 LED_CLK PCIe_RSTOUTn PCIe0_CLKREQ |
| 194 | 53 LED_STB - - |
| 195 | 54 LED_DATA - SDIO_HW_RST |
| 196 | 55 - - SDIO_LED |
| 197 | 56 - SATA1_PRESENT_ACTIVEn - |
| 198 | 57 - SATA0_PRESENT_ACTIVEn - |
| 199 | 58 LED_CLK - - |
| 200 | 59 LED_STB UART1_TXD - |
| 201 | 60 LED_DATA UART1_RXD - |
| 202 | 61 UART2_TXD SATA1_PRESENT_ACTIVEn GE_MDIO |
| 203 | 62 UART2_RXD SATA0_PRESENT_ACTIVEn GE_MDC |
| 204 | |
| 205 | ------------------------------------------------------------------------------- |
| 206 | MPP# 0xB 0xD 0xE |
| 207 | ------------------------------------------------------------------------------- |
| 208 | 0 - - - |
| 209 | 1 - - - |
| 210 | 2 - - - |
| 211 | 3 - - - |
| 212 | 4 - - - |
| 213 | 5 - - - |
| 214 | 6 - - - |
| 215 | 7 - - - |
| 216 | 8 - - - |
| 217 | 9 - - - |
| 218 | 10 - - - |
| 219 | 11 - CLKOUT_MPP_11 - |
| 220 | 12 - - - |
| 221 | 13 - - - |
| 222 | 14 - - - |
| 223 | 15 PTP_PULSE_CP2CP SAR_IN[5] - |
| 224 | 16 - SAR_IN[3] - |
| 225 | 17 - SAR_IN[6] - |
| 226 | 18 PTP_CLK_CP2CP SAR_IN[11] - |
| 227 | 19 WAKEUP_OUT_CP2CP SAR_IN[7] - |
| 228 | 20 - SAR_IN[9] - |
| 229 | 21 SEI_IN_CP2CP SAR_IN[8] - |
| 230 | 22 WAKEUP_IN_CP2CP SAR_IN[10] - |
| 231 | 23 LINK_RD_IN_CP2CP SAR_IN[4] - |
| 232 | 24 - - - |
| 233 | 25 - CLKOUT_MPP_25 - |
| 234 | 26 - SAR_IN[0] - |
| 235 | 27 REI_IN_CP2CP SAR_IN[1] - |
| 236 | 28 LED_DATA SAR_IN[2] - |
| 237 | 29 LED_STB AVS_FB_IN_CP2CP - |
| 238 | 30 LED_CLK SAR_IN[13] - |
| 239 | 31 - - - |
| 240 | 32 - SAR_CP2CP_OUT[0] - |
| 241 | 33 - SAR_CP2CP_OUT[1] - |
| 242 | 34 - SAR_CP2CP_OUT[2] - |
| 243 | 35 - SAR_CP2CP_OUT[3] - |
| 244 | 36 - CLKIN - |
| 245 | 37 LINK_RD_OUT_CP2CP SAR_CP2CP_OUT[4] - |
| 246 | 38 PTP_PULSE_CP2CP SAR_CP2CP_OUT[5] - |
| 247 | 39 - AVS_FB_OUT_CP2CP - |
| 248 | 40 - - - |
| 249 | 41 REI_OUT_CP2CP - - |
| 250 | 42 - SAR_CP2CP_OUT[9] - |
| 251 | 43 WAKEUP_OUT_CP2CP SAR_CP2CP_OUT[10] - |
| 252 | 44 PTP_CLK_CP2CP SAR_CP2CP_OUT[11] - |
| 253 | 45 - SAR_CP2CP_OUT[6] - |
| 254 | 46 - SAR_CP2CP_OUT[13] - |
| 255 | 47 - - - |
| 256 | 48 WAKEUP_IN_CP2CP SAR_CP2CP_OUT[7] - |
| 257 | 49 SEI_OUT_CP2CP SAR_CP2CP_OUT[8] - |
| 258 | 50 - - - |
| 259 | 51 - - - |
| 260 | 52 - - - |
| 261 | 53 SDIO_LED - - |
| 262 | 54 SDIO_WR_PROTECT - - |
| 263 | 55 SDIO_CARD_DETECT - - |
| 264 | 56 - - SDIO0_CLK |
| 265 | 57 - - SDIO0_CMD |
| 266 | 58 - - SDIO0_D[0] |
| 267 | 59 - - SDIO0_D[1] |
| 268 | 60 - - SDIO0_D[2] |
| 269 | 61 - - SDIO0_D[3] |
| 270 | 62 - - - |