blob: 3adcf3aae498f916fa289709bce7464298e4f72e [file] [log] [blame]
Konstantin Porotchkin656e6cc2016-12-08 12:22:29 +02001 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-------------------------------------------------------------------------------
5MPP# 0x1 0x2 0x3 0x4
6-------------------------------------------------------------------------------
70 DEV_ALE[1] AU_I2SMCLK GE0_RXD[3] TDM_PCLK
81 DEV_ALE[0] AU_I2SDO_SPDIFO GE0_RXD[2] TDM_DRX
92 DEV_AD[15] AU_I2SEXTCLK GE0_RXD[1] TDM_DTX
103 DEV_AD[14] AU_I2SLRCLK GE0_RXD[0] TDM_FSYNC
114 DEV_AD[13] AU_I2SBCLK GE0_RXCTL TDM_RSTn
125 DEV_AD[12] AU_I2SDI GE0_RXCLK TDM_INTn
136 DEV_AD[11] - GE0_TXD[3] SPI0_CSn[2]
147 DEV_AD[10] - GE0_TXD[2] SPI0_CSn[1]
158 DEV_AD[9] - GE0_TXD[1] SPI0_CSn[0]
169 DEV_AD[8] - GE0_TXD[0] SPI0_MOSI
1710 DEV_READYn - GE0_TXCTL SPI0_MISO
1811 DEV_WEn[1] - GE0_TXCLKOUT SPI0_CLK
1912 DEV_CLK_OUT NF_RBn[1] SPI1_CSn[1] GE0_RXCLK
2013 DEV_BURSTn NF_RBn[0] SPI1_MISO GE0_RXCTL
2114 DEV_BOOTCSn DEV_CSn[0] SPI1_CSn[0] SPI0_CSn[3]
2215 DEV_AD[7] - SPI1_MOSI -
2316 DEV_AD[6] - SPI1_CLK -
2417 DEV_AD[5] - - GE0_TXD[3]
2518 DEV_AD[4] - - GE0_TXD[2]
2619 DEV_AD[3] - - GE0_TXD[1]
2720 DEV_AD[2] - - GE0_TXD[0]
2821 DEV_AD[1] - - GE0_TXCTL
2922 DEV_AD[0] - - GE0_TXCLKOUT
3023 DEV_A[1] - - -
3124 DEV_A[0] - - -
3225 DEV_OEn - - - -
3326 DEV_WEn[0] - - -
3427 DEV_CSn[0] SPI1_MISO MSS_GPIO[4] GE0_RXD[3]
3528 DEV_CSn[1] SPI1_CSn[0] MSS_GPIO[5] GE0_RXD[2]
3629 DEV_CSn[2] SPI1_MOSI MSS_GPIO[6] GE0_RXD[1]
3730 DEV_CSn[3] SPI1_CLK MSS_GPIO[7] GE0_RXD[0]
3831 DEV_A[2] - MSS_GPIO[4] -
3932 MII_COL MII_TXERR MSS_SPI_MISO TDM_DRX
4033 MII_TXCLK SDIO_PWR1[0] MSS_SPI_CSn TDM_FSYNC
4134 MII_RXERR SDIO_PWR1[1] MSS_SPI_MOSI TDM_DTX
4235 SATA1_PRESENT_ACTIVEn TWSI1_SDA MSS_SPI_CLK TDM_PCLK
4336 SYNCE2_CLK TWSI1_SCK PTP_CLK SYNCE1_CLK
4437 UART2_RXD TWSI0_SCK PTP_PCLK_OUT TDM_INTn
4538 UART2_TXD TWSI0_SDA PTP_PULSE TDM_RSTn
4639 SDIO_WR_PROTECT - - AU_I2SBCLK PTP_CLK
4740 SDIO_PWR1[1] SYNCE1_CLK MSS_TWSI_SDA AU_I2SDO_SPDIFO
4841 SDIO_PWR1[0] SDIO_BUS_PWR MSS_TWSI_SCK AU_I2SLRCLK
4942 SDIO_V18_EN SDIO_WR_PROTECT SYNCE2_CLK AU_I2SMCLK
5043 SDIO_CARD_DETECT - SYNCE1_CLK AU_I2SEXTCLK
5144 GE1_TXD[2] - - -
5245 GE1_TXD[3] - - -
5346 GE1_TXD[1] - - -
5447 GE1_TXD[0] - - -
5548 GE1_TXCTL_MII_TXEN - - -
5649 GE1_TXCLKOUT MII_CRS - -
5750 GE1_RXCLK MSS_TWSI_SDA - -
5851 GE1_RXD[0] MSS_TWSI_SCK - -
5952 GE1_RXD[1] SYNCE1_CLK - SYNCE2_CLK
6053 GE1_RXD[2] - PTP_CLK -
6154 GE1_RXD[3] SYNCE2_CLK PTP_PCLK_OUT SYNCE1_CLK
6255 GE1_RXCTL_MII_RXDV - PTP_PULSE -
6356 - - - TDM_DRX
6457 - MSS_TWSI_SDA PTP_PCLK_OUT TDM_INTn
6558 - MSS_TWSI_SCK PTP_CLK TDM_RSTn
6659 MSS_GPIO[7] SYNCE2_CLK - TDM_FSYNC
6760 MSS_GPIO[6] - PTP_PULSE TDM_DTX
6861 MSS_GPIO[5] - PTP_CLK TDM_PCLK
6962 MSS_GPIO[4] SYNCE1_CLK PTP_PCLK_OUT -
70
71-------------------------------------------------------------------------------
72MPP# 0x5 0x6 0x7
73-------------------------------------------------------------------------------
740 - PTP_PULSE MSS_TWSI_SDA
751 - PTP_CLK MSS_TWSI_SCK
762 MSS_UART_RXD PTP_PCLK_OUT TWSI1_SCK
773 MSS_UART_TXD PCIe_RSTOUTn TWSI1_SDA
784 MSS_UART_RXD UART1_CTS PCIe0_CLKREQ
795 MSS_UART_TXD UART1_RTS PCIe1_CLKREQ
806 AU_I2SEXTCLK SATA1_PRESENT_ACTIVEn PCIe2_CLKREQ
817 SPI1_CSn[1] SATA0_PRESENT_ACTIVEn LED_DATA
828 SPI1_CSn[0] UART0_CTS LED_STB
839 SPI1_MOSI - PCIe_RSTOUTn
8410 SPI1_MISO UART0_CTS SATA1_PRESENT_ACTIVEn
8511 SPI1_CLK UART0_RTS LED_CLK
8612 - - -
8713 - - -
8814 AU_I2SEXTCLK SPI0_MISO SATA0_PRESENT_ACTIVEn
8915 - SPI0_MOSI -
9016 - - -
9117 - - -
9218 - - -
9319 - - -
9420 - - -
9521 - - -
9622 - - -
9723 AU_I2SMCLK - -
9824 AU_I2SLRCLK - -
9925 AU_I2SDO_SPDIFO - -
10026 AU_I2SBCLK - -
10127 SPI0_CSn[4] - -
10228 SPI0_CSn[5] PCIe2_CLKREQ PTP_PULSE
10329 SPI0_CSn[6] PCIe1_CLKREQ PTP_CLK
10430 SPI0_CSn[7] PCIe0_CLKREQ PTP_PCLK_OUT
10531 - PCIe_RSTOUTn -
10632 AU_I2SEXTCLK AU_I2SDI GE_MDIO
10733 AU_I2SMCLK SDIO_BUS_PWR -
10834 AU_I2SLRCLK SDIO_WR_PROTECT GE_MDC
10935 AU_I2SDO_SPDIFO SDIO_CARD_DETECT XG_MDIO
11036 AU_I2SBCLK SATA0_PRESENT_ACTIVEn XG_MDC
11137 MSS_TWSI_SCK SATA1_PRESENT_ACTIVEn GE_MDC
11238 MSS_TWSI_SDA SATA0_PRESENT_ACTIVEn GE_MDIO
11339 SPI0_CSn[1] - -
11440 PTP_PCLK_OUT SPI0_CLK UART1_TXD
11541 PTP_PULSE SPI0_MOSI UART1_RXD
11642 MSS_UART_TXD SPI0_MISO UART1_CTS
11743 MSS_UART_RXD SPI0_CSn[0] UART1_RTS
11844 - - UART0_RTS
11945 - - UART0_TXD
12046 - - UART1_RTS
12147 SPI1_CLK - UART1_TXD
12248 SPI1_MOSI - -
12349 SPI1_MISO - UART1_RXD
12450 SPI1_CSn[0] UART2_TXD UART0_RXD
12551 SPI1_CSn[1] UART2_RXD UART0_CTS
12652 SPI1_CSn[2] - UART1_CTS
12753 SPI1_CSn[3] - UART1_RXD
12854 - - -
12955 - - -
13056 AU_I2SDO_SPDIFO SPI0_CLK UART1_RXD
13157 AU_I2SBCLK SPI0_MOSI UART1_TXD
13258 AU_I2SDI SPI0_MISO UART1_CTS
13359 AU_I2SLRCLK SPI0_CSn[0] UART0_CTS
13460 AU_I2SMCLK SPI0_CSn[1] UART0_RTS
13561 AU_I2SEXTCLK SPI0_CSn[2] UART0_TXD
13662 SATA1_PRESENT_ACTIVEn SPI0_CSn[3] UART0_RXD
137
138-------------------------------------------------------------------------------
139MPP# 0x8 0x9 0xA
140-------------------------------------------------------------------------------
1410 UART0_RXD SATA0_PRESENT_ACTIVEn GE_MDIO
1421 UART0_TXD SATA1_PRESENT_ACTIVEn GE_MDC
1432 UART1_RXD SATA0_PRESENT_ACTIVEn XG_MDC
1443 UART1_TXD SATA1_PRESENT_ACTIVEn XG_MDIO
1454 UART3_RXD - GE_MDC
1465 UART3_TXD - GE_MDIO
1476 UART0_RXD PTP_PULSE -
1487 UART0_TXD PTP_CLK -
1498 UART2_RXD PTP_PCLK_OUT SYNCE1_CLK
1509 - - SYNCE2_CLK
15110 - - -
15211 UART2_TXD SATA0_PRESENT_ACTIVEn -
15312 - - -
15413 MSS_SPI_MISO - -
15514 MSS_SPI_CSn - -
15615 MSS_SPI_MOSI - -
15716 MSS_SPI_CLK - -
15817 - - -
15918 - - -
16019 - - -
16120 - - -
16221 - - -
16322 - - -
16423 - - -
16524 - - -
16625 - - -
16726 - - -
16827 GE_MDIO SATA0_PRESENT_ACTIVEn UART0_RTS
16928 GE_MDC SATA1_PRESENT_ACTIVEn UART0_CTS
17029 MSS_TWSI_SDA SATA0_PRESENT_ACTIVEn UART0_RXD
17130 MSS_TWSI_SCK SATA1_PRESENT_ACTIVEn UART0_TXD
17231 GE_MDC - -
17332 SDIO_V18_EN PCIe1_CLKREQ MSS_GPIO[0]
17433 XG_MDIO PCIe2_CLKREQ MSS_GPIO[1]
17534 - PCIe0_CLKREQ MSS_GPIO[2]
17635 GE_MDIO PCIe_RSTOUTn MSS_GPIO[3]
17736 GE_MDC PCIe2_CLKREQ MSS_GPIO[5]
17837 XG_MDC PCIe1_CLKREQ MSS_GPIO[6]
17938 XG_MDIO AU_I2SEXTCLK MSS_GPIO[7]
18039 SATA1_PRESENT_ACTIVEn MSS_GPIO[0]
18140 GE_MDIO SATA0_PRESENT_ACTIVEn MSS_GPIO[1]
18241 GE_MDC SATA1_PRESENT_ACTIVEn MSS_GPIO[2]
18342 XG_MDC SATA0_PRESENT_ACTIVEn MSS_GPIO[4]
18443 XG_MDIO SATA1_PRESENT_ACTIVEn MSS_GPIO[5]
18544 - - -
18645 - PCIe_RSTOUTn -
18746 - - -
18847 GE_MDC CLKOUT -
18948 XG_MDC - -
19049 GE_MDIO PCIe0_CLKREQ SDIO_V18_EN
19150 XG_MDIO - SDIO_PWR1[1]
19251 - - SDIO_PWR1[0]
19352 LED_CLK PCIe_RSTOUTn PCIe0_CLKREQ
19453 LED_STB - -
19554 LED_DATA - SDIO_HW_RST
19655 - - SDIO_LED
19756 - SATA1_PRESENT_ACTIVEn -
19857 - SATA0_PRESENT_ACTIVEn -
19958 LED_CLK - -
20059 LED_STB UART1_TXD -
20160 LED_DATA UART1_RXD -
20261 UART2_TXD SATA1_PRESENT_ACTIVEn GE_MDIO
20362 UART2_RXD SATA0_PRESENT_ACTIVEn GE_MDC
204
205-------------------------------------------------------------------------------
206MPP# 0xB 0xD 0xE
207-------------------------------------------------------------------------------
2080 - - -
2091 - - -
2102 - - -
2113 - - -
2124 - - -
2135 - - -
2146 - - -
2157 - - -
2168 - - -
2179 - - -
21810 - - -
21911 - CLKOUT_MPP_11 -
22012 - - -
22113 - - -
22214 - - -
22315 PTP_PULSE_CP2CP SAR_IN[5] -
22416 - SAR_IN[3] -
22517 - SAR_IN[6] -
22618 PTP_CLK_CP2CP SAR_IN[11] -
22719 WAKEUP_OUT_CP2CP SAR_IN[7] -
22820 - SAR_IN[9] -
22921 SEI_IN_CP2CP SAR_IN[8] -
23022 WAKEUP_IN_CP2CP SAR_IN[10] -
23123 LINK_RD_IN_CP2CP SAR_IN[4] -
23224 - - -
23325 - CLKOUT_MPP_25 -
23426 - SAR_IN[0] -
23527 REI_IN_CP2CP SAR_IN[1] -
23628 LED_DATA SAR_IN[2] -
23729 LED_STB AVS_FB_IN_CP2CP -
23830 LED_CLK SAR_IN[13] -
23931 - - -
24032 - SAR_CP2CP_OUT[0] -
24133 - SAR_CP2CP_OUT[1] -
24234 - SAR_CP2CP_OUT[2] -
24335 - SAR_CP2CP_OUT[3] -
24436 - CLKIN -
24537 LINK_RD_OUT_CP2CP SAR_CP2CP_OUT[4] -
24638 PTP_PULSE_CP2CP SAR_CP2CP_OUT[5] -
24739 - AVS_FB_OUT_CP2CP -
24840 - - -
24941 REI_OUT_CP2CP - -
25042 - SAR_CP2CP_OUT[9] -
25143 WAKEUP_OUT_CP2CP SAR_CP2CP_OUT[10] -
25244 PTP_CLK_CP2CP SAR_CP2CP_OUT[11] -
25345 - SAR_CP2CP_OUT[6] -
25446 - SAR_CP2CP_OUT[13] -
25547 - - -
25648 WAKEUP_IN_CP2CP SAR_CP2CP_OUT[7] -
25749 SEI_OUT_CP2CP SAR_CP2CP_OUT[8] -
25850 - - -
25951 - - -
26052 - - -
26153 SDIO_LED - -
26254 SDIO_WR_PROTECT - -
26355 SDIO_CARD_DETECT - -
26456 - - SDIO0_CLK
26557 - - SDIO0_CMD
26658 - - SDIO0_D[0]
26759 - - SDIO0_D[1]
26860 - - SDIO0_D[2]
26961 - - SDIO0_D[3]
27062 - - -