A20/PIO

From linux-sunxi.org
< A20
Jump to navigation Jump to search

Programmable I/O Pins

Port bank A

Port Bank A (0)
Port Ball Type MUX 2 MUX 3 MUX 4 MUX 5 MUX 6 MUX 7
PA00 (0) D05 I/O ERXD3 SPI1_CS0 UART2_RTS GRXD3 reserved reserved
PA01 (1) E05 I/O ERXD2 SPI1_CLK UART2_CTS GRXD2 reserved reserved
PA02 (2) D06 I/O ERXD1 SPI1_MOSI UART2_TX GRXD1 reserved reserved
PA03 (3) E06 I/O ERXD0 SPI1_MISO UART2_RX GRXD0 reserved reserved
PA04 (4) D07 I/O ETXD3 SPI1_CS1 reserved GTXD3 reserved reserved
PA05 (5) E07 I/O ETXD2 SPI3_CS0 reserved GTXD2 reserved reserved
PA06 (6) D08 I/O ETXD1 SPI3_CLK reserved GTXD1 reserved reserved
PA07 (7) E08 I/O ETXD0 SPI3_MOSI reserved GTXD0 reserved reserved
PA08 (8) D09 I/O ERXCK SPI3_MISO reserved GRXCK reserved reserved
PA09 (9) E09 I/O ERXERR SPI3_CS1 reserved GNULL/ERXERR I²S1_MCLK reserved
PA10 (10) D10 I/O ERXDV reserved UART1_TX RXDV reserved reserved
PA11 (11) E10 I/O EMDC reserved UART1_RX GMDC reserved reserved
PA12 (12) D11 I/O EMDIO UART6_TX UART1_RTS GMDIO reserved reserved
PA13 (13) E11 I/O ETXEN UART6_RX UART1_CTS GTXCTL/ETXCK reserved reserved
PA14 (14) D12 I/O ETXCK UART7_TX UART1_DTR GNULL/ETXCK I²S1_BCLK reserved
PA15 (15) E12 I/O ECRS UART7_RX UART1_DSR GTXCK/ECRS I²S1_LRCK reserved
PA16 (16) D13 I/O ECOL CAN_TX UART1_DCD GCLKIN/ECOL I²S1_DO reserved
PA17 (17) C13 I/O ETXERR CAN_RX UART1_RING GNULL/ETXERR I²S1_DI reserved

Port bank B

Port Bank B (1)
Port Ball Type MUX 2 MUX 3 MUX 4 MUX 5 MUX 6 MUX 7 notes
PB00 (32) A15 I/O TWI0_SCK reserved reserved reserved reserved reserved
PB01 (33) B15 I/O TWI0_SDA reserved reserved reserved reserved reserved
PB02 (34) A14 I/O PWM0 reserved reserved reserved reserved reserved
PB03 (35) B14 I/O IR0_TX reserved SPDIF_MCLK reserved reserved reserved verify SPDIF_MCLK
PB04 (36) A13 I/O IR0_RX reserved reserved reserved reserved reserved
PB05 (37) B13 I/O I²S0_MCLK AC97_MCLK reserved reserved reserved reserved
PB06 (38) A12 I/O I²S0_BCLK AC97_BCLK reserved reserved reserved reserved
PB07 (39) B12 I/O I²S0_LRCK AC97_SYNC reserved reserved reserved reserved
PB08 (40) A11 I/O I²S0_DO0 AC97_DO reserved reserved reserved reserved verify AC97_DO
PB09 (41) C12 I/O I²S0_DO1 reserved reserved reserved reserved reserved verify AC97_DO
PB10 (42) C11 I/O I²S0_DO2 reserved reserved reserved reserved reserved
PB11 (43) C10 I/O I²S0_DO3 reserved reserved reserved reserved reserved
PB12 (44) C9 I/O I²S0_DI AC97_DI SPDIF_DI reserved reserved reserved verify SPDIF_DI
PB13 (45) B11 I/O SPI2_CS1 reserved SPDIF_DO reserved reserved reserved verify SPDIF_DO
PB14 (46) A10 I/O SPI2_CS0 JTAG_MS0 reserved reserved reserved reserved
PB15 (47) B10 I/O SPI2_CLK JTAG_CK0 reserved reserved reserved reserved
PB16 (48) A9 I/O SPI2_MOSI JTAG_DO0 reserved reserved reserved reserved
PB17 (49) B9 I/O SPI2_MISO JTAG_DI0 reserved reserved reserved reserved
PB18 (50) A8 I/O TWI1_SCK reserved reserved reserved reserved reserved
PB19 (51) B8 I/O TWI1_SDA reserved reserved reserved reserved reserved
PB20 (52) C8 I/O TWI2_SCK reserved reserved reserved reserved reserved
PB21 (53) C7 I/O TWI2_SDA reserved reserved reserved reserved reserved
PB22 (54) A7 I/O UART0_TX IR1_TX reserved reserved reserved reserved
PB23 (55) B7 I/O UART0_RX IR1_RX reserved reserved reserved reserved

Port bank C

Port Bank C (2)
Port Ball Type MUX 2 MUX 3 MUX 4 MUX 5 MUX 6 MUX 7
PC00 (64) M23 I/O NAND_WE# SPI0_MOSI reserved reserved reserved reserved
PC01 (65) M22 I/O NALE SPI0_MISO reserved reserved reserved reserved
PC02 (66) L23 I/O NCLE SPI0_CLK reserved reserved reserved reserved
PC03 (67) L22 I/O NCE1 reserved reserved reserved reserved reserved
PC04 (68) K23 I/O NCE0 reserved reserved reserved reserved reserved
PC05 (69) K22 I/O NRE# reserved reserved reserved reserved reserved
PC06 (70) J23 I/O NRB0 SDC2_CMD reserved reserved reserved reserved
PC07 (71) J22 I/O NRB1 SDC2_CLK reserved reserved reserved reserved
PC08 (72) H23 I/O NDQ0 SDC2_D0 reserved reserved reserved reserved
PC09 (73) H22 I/O NDQ1 SDC2_D1 reserved reserved reserved reserved
PC10 (74) G23 I/O NDQ2 SDC2_D2 reserved reserved reserved reserved
PC11 (75) G22 I/O NDQ3 SDC2_D3 reserved reserved reserved reserved
PC12 (76) H21 I/O NDQ4 reserved reserved reserved reserved reserved
PC13 (77) H20 I/O NDQ5 reserved reserved reserved reserved reserved
PC14 (78) G21 I/O NDQ6 reserved reserved reserved reserved reserved
PC15 (79) G20 I/O NDQ7 reserved reserved reserved reserved reserved
PC16 (80) M21 I/O NWP reserved reserved reserved reserved reserved
PC17 (81) F23 I/O NCE2 reserved reserved reserved reserved reserved
PC18 (82) F22 I/O NCE3 reserved reserved reserved reserved reserved
PC19 (83) L21 I/O NCE4 SPI2_CS0 reserved reserved reserved reserved
PC20 (84) K21 I/O NCE5 SPI2_CLK reserved reserved reserved reserved
PC21 (85) J21 I/O NCE6 SPI2_MOSI reserved reserved reserved reserved
PC22 (86) J20 I/O NCE7 SPI2_MISO reserved reserved reserved reserved
PC23 (87) G19 I/O reserved SPI0_CS0 reserved reserved reserved reserved
PC24 (88) F21 I/O NDQS reserved reserved reserved reserved reserved

Port bank D

Port Bank D (3)
Port Ball Type MUX 2 MUX 3 MUX 4 MUX 5 MUX 6 MUX 7
PD00 (96) AB15 I/O LCD0_D0 LVDS0_VP0 reserved reserved reserved reserved
PD01 (97) AC15 I/O LCD0_D1 LVDS0_VN0 reserved reserved reserved reserved
PD02 (98) AB14 I/O LCD0_D2 LVDS0_VP1 reserved reserved reserved reserved
PD03 (99) AC14 I/O LCD0_D3 LVDS0_VN1 reserved reserved reserved reserved
PD04 (100) AB13 I/O LCD0_D4 LVDS0_VP2 reserved reserved reserved reserved
PD05 (101) AC13 I/O LCD0_D5 LVDS0_VN2 reserved reserved reserved reserved
PD06 (102) AB12 I/O LCD0_D6 LVDS0_VPC reserved reserved reserved reserved
PD07 (103) AC12 I/O LCD0_D7 LVDS0_VNC reserved reserved reserved reserved
PD08 (104) AB11 I/O LCD0_D8 LVDS0_VP3 reserved reserved reserved reserved
PD09 (105) AC11 I/O LCD0_D9 LVDS0_VN3 reserved reserved reserved reserved
PD10 (106) Y15 I/O LCD0_D10 LVDS1_VP0 reserved reserved reserved reserved
PD11 (107) AA15 I/O LCD0_D11 LVDS1_VN0 reserved reserved reserved reserved
PD12 (108) Y14 I/O LCD0_D12 LVDS1_VP1 reserved reserved reserved reserved
PD13 (109) AA14 I/O LCD0_D13 LVDS1_VN1 reserved reserved reserved reserved
PD14 (110) Y13 I/O LCD0_D14 LVDS1_VP2 reserved reserved reserved reserved
PD15 (111) AA13 I/O LCD0_D15 LVDS1_VN2 reserved reserved reserved reserved
PD16 (112) Y12 I/O LCD0_D16 LVDS1_VPC reserved reserved reserved reserved
PD17 (113) AA12 I/O LCD0_D17 LVDS1_VNC reserved reserved reserved reserved
PD18 (114) Y11 I/O LCD0_D18 LVDS1_VP3 reserved reserved reserved reserved
PD19 (115) AA11 I/O LCD0_D19 LVDS1_VN3 reserved reserved reserved reserved
PD20 (116) Y10 I/O LCD0_D20 CSI1_MCLK reserved reserved reserved reserved
PD21 (117) AA10 I/O LCD0_D21 SMC_VPPEN reserved reserved reserved reserved
PD22 (118) AB10 I/O LCD0_D22 SMC_VPPPP reserved reserved reserved reserved
PD23 (119) AC10 I/O LCD0_D23 SMC_DET reserved reserved reserved reserved
PD24 (120) Y9 I/O LCD0_CLK SMC_VCCEN reserved reserved reserved reserved
PD25 (121) AA9 I/O LCD0_DE SMC_RST reserved reserved reserved reserved
PD26 (122) AB9 I/O LCD0_HSYNC SMC_SCK reserved reserved reserved reserved
PD27 (123) AC9 I/O LCD0_VSYNC SMC_SDA reserved reserved reserved reserved

Port bank E

Port Bank E (4)
Port Ball Type MUX 2 MUX 3 MUX 4 MUX 5 MUX 6 MUX 7
PE00 (128) E23 I/O TS0_CLK CSI0_PCK reserved reserved reserved reserved
PE01 (129) E22 I/O TS0_ERR CSI0_CK reserved reserved reserved reserved
PE02 (130) D23 I/O TS0_SYNC CSI0_HSYNC reserved reserved reserved reserved
PE03 (131) D22 I/O TS0_DVLD CSI0_VSYNC reserved reserved reserved reserved
PE04 (132) C23 I/O TS0_D0 CSI0_D0 reserved reserved reserved reserved
PE05 (133) C22 I/O TS0_D1 CSI0_D1 reserved reserved reserved reserved
PE06 (134) B23 I/O TS0_D2 CSI0_D2 reserved reserved reserved reserved
PE07 (135) B22 I/O TS0_D3 CSI0_D3 reserved reserved reserved reserved
PE08 (136) A23 I/O TS0_D4 CSI0_D4 reserved reserved reserved reserved
PE09 (137) A22 I/O TS0_D5 CSI0_D5 reserved reserved reserved reserved
PE10 (138) B21 I/O TS0_D6 CSI0_D6 reserved reserved reserved reserved
PE11 (139) A21 I/O TS0_D7 CSI0_D7 reserved reserved reserved reserved

Port bank F

Port Bank F (5)
Port Ball Type MUX 2 MUX 3 MUX 4 MUX 5 MUX 6 MUX 7
PF00 (160) M20 I/O SDC0_D1 reserved JTAG_MS1 reserved reserved reserved
PF01 (161) M19 I/O SDC0_D0 reserved JTAG_DI1 reserved reserved reserved
PF02 (162) L20 I/O SDC0_CLK reserved UART0_TX reserved reserved reserved
PF03 (163) L19 I/O SDC0_CMD reserved JTAG_DO1 reserved reserved reserved
PF04 (164) K20 I/O SDC0_D3 reserved UART0_RX reserved reserved reserved
PF05 (165) K19 I/O SDC0_D2 reserved JTAG_CK1 reserved reserved reserved

Port bank G

Port Bank G (6)
Port Ball Type MUX 2 MUX 3 MUX 4 MUX 5 MUX 6 MUX 7
PG00 (192) F20 I/O TS1_CLK CSI1_PCK SDC1_CMD reserved reserved reserved
PG01 (193) E21 I/O TS1_ERR CSI1_CK SDC1_CLK reserved reserved reserved
PG02 (194) E20 I/O TS1_SYNC CSI1_HSYNC SDC1_D0 reserved reserved reserved
PG03 (195) D21 I/O TS1_DVLD CSI1_VSYNC SDC1_D1 reserved reserved reserved
PG04 (196) D20 I/O TS1_D0 CSI1_D0 SDC1_D2 CSI0_D8 reserved reserved
PG05 (197) C21 I/O TS1_D1 CSI1_D1 SDC1_D3 CSI0_D9 reserved reserved
PG06 (198) E19 I/O TS1_D2 CSI1_D2 UART3_TX CSI0_D10 reserved reserved
PG07 (199) C20 I/O TS1_D3 CSI1_D3 UART3_RX CSI0_D11 reserved reserved
PG08 (200) D19 I/O TS1_D4 CSI1_D4 UART3_RTS CSI0_D12 reserved reserved
PG09 (201) C19 I/O TS1_D5 CSI1_D5 UART3_CTS CSI0_D13 reserved reserved
PG10 (202) D18 I/O TS1_D6 CSI1_D6 UART4_TX CSI0_D14 reserved reserved
PG11 (203) C18 I/O TS1_D7 CSI1_D7 UART4_RX CSI0_D15 reserved reserved

Port bank H

Port Bank H (7)
Port Ball Type MUX 2 MUX 3 MUX 4 MUX 5 MUX 6 MUX 7
PH00 (224) A6 I/O LCD1_D00 reserved UART3_TX reserved EINT0 CSI1_D0
PH01 (225) B6 I/O LCD1_D01 reserved UART3_RX reserved EINT1 CSI1_D1
PH02 (226) C6 I/O LCD1_D02 reserved UART3_RTS reserved EINT2 CSI1_D2
PH03 (227) A5 I/O LCD1_D03 reserved UART3_CTS reserved EINT3 CSI1_D3
PH04 (228) B5 I/O LCD1_D04 reserved UART4_TX reserved EINT4 CSI1_D4
PH05 (229) C5 I/O LCD1_D05 reserved UART4_RX reserved EINT5 CSI1_D5
PH06 (230) A4 I/O LCD1_D06 reserved UART5_TX MS_BS EINT6 CSI1_D6
PH07 (231) B4 I/O LCD1_D07 reserved UART5_RX MS_CLK EINT7 CSI1_D7
PH08 (232) C4 I/O LCD1_D08 ERXD3 KP_IN0 MS_D1 EINT8 CSI1_D9
PH09 (233) D4 I/O LCD1_D09 ERXD2 KP_IN1 MS_D0 EINT9 CSI1_D8
PH10 (234) A3 I/O LCD1_D10 ERXD1 KP_IN2 MS_D2 EINT10 CSI1_D10
PH11 (235) B3 I/O LCD1_D11 ERXD0 KP_IN3 MS_D3 EINT11 CSI1_D11
PH12 (236) C3 I/O LCD1_D12 reserved PS2_SCK1 reserved EINT12 CSI1_D12
PH13 (237) A2 I/O LCD1_D13 reserved PS2_SDA1 SMC_RST EINT13 CSI1_D13
PH14 (238) B2 I/O LCD1_D14 ETXD3 KP_IN4 SMC_VPPEN EINT14 CSI1_D14
PH15 (239) A1 I/O LCD1_D15 ETXD2 KP_IN5 SMC_VPPPP EINT15 CSI1_D15
PH16 (240) B1 I/O LCD1_D16 ETXD1 KP_IN6 reserved EINT16 CSI1_D16
PH17 (241) C1 I/O LCD1_D17 ETXD0 KP_IN7 SMC_VCCEN EINT17 CSI1_D17
PH18 (242) C2 I/O LCD1_D18 ERXCK KP_OUT0 SMC_SCK EINT18 CSI1_D18
PH19 (243) D1 I/O LCD1_D19 ERXERR KP_OUT1 SMC_SDA EINT19 CSI1_D19
PH20 (244) D2 I/O LCD1_D20 ERXDV CAN_TX reserved EINT20 CSI1_D20
PH21 (245) D3 I/O LCD1_D21 EMDC CAN_RX reserved EINT21 CSI1_D21
PH22 (246) E1 I/O LCD1_D22 EMDIO KP_OUT2 SDC1_CMD reserved CSI1_D22
PH23 (247) E2 I/O LCD1_D23 ETEN KP_OUT3 SDC1_CLK reserved CSI1_D23
PH24 (248) E3 I/O LCD1_CLK ETXCK KP_OUT4 SDC1_D0 reserved CSI1_FIELD
PH25 (249) E4 I/O LCD1_DE ECRS KP_OUT5 SDC1_D1 reserved CSI1_PCLK
PH26 (250) F3 I/O LCD1_HSYNC ECOL KP_OUT6 SDC1_D2 reserved CSI1_HSYNC
PH27 (251) F4 I/O LCD1_VSYNC ETXERR KP_OUT7 SDC1_D3 reserved CSI1_VSYNC

Port bank I

Port Bank I (8)
Port Ball Type MUX 2 MUX 3 MUX 4 MUX 5 MUX 6 MUX 7
PI00 (256) A20 I/O reserved TWI TWI3_SCK reserved reserved reserved reserved
PI01 (257) B20 I/O reserved TWI TWI3_SDA reserved reserved reserved reserved
PI02 (258) A19 I/O reserved TWI TWI4_SCK reserved reserved reserved reserved
PI03 (259) B19 I/O PWM1 TWI TWI4_SDA reserved reserved reserved reserved
PI04 (260) A18 I/O SDC3_CMD reserved reserved reserved reserved reserved
PI05 (261) B18 I/O SDC3_CLK reserved reserved reserved reserved reserved
PI06 (262) A17 I/O SDC3_D0 reserved reserved reserved reserved reserved
PI07 (263) B17 I/O SDC3_D1 reserved reserved reserved reserved reserved
PI08 (264) A16 I/O SDC3_D2 reserved reserved reserved reserved reserved
PI09 (265) B16 I/O SDC3_D3 reserved reserved reserved reserved reserved
PI10 (266) C17 I/O SPI0_CS0 UART5_TX reserved reserved EINT22 reserved
PI11 (267) D17 I/O SPI0_CLK UART5_RX reserved reserved EINT23 reserved
PI12 (268) C16 I/O SPI0_MOSI UART6_TX CLK_OUT_A reserved EINT24 reserved
PI13 (269) D16 I/O SPI0_MISO UART6_RX CLK_OUT_B reserved EINT25 reserved
PI14 (270) C15 I/O SPI0_CS1 PS2_SCK1 TCLKIN0 TCLKIN0 EINT26 reserved
PI15 (271) D15 I/O SPI1_CS1 PS2_SDA1 TCLKIN1 TCLKIN1 EINT27 reserved
PI16 (272) E17 I/O SPI1_CS0 UART2_RTS reserved reserved EINT28 reserved
PI17 (273) E16 I/O SPI1_CLK UART2_CTS reserved reserved EINT29 reserved
PI18 (274) E15 I/O SPI1_MOSI UART2_TX reserved reserved EINT30 reserved
PI19 (275) D14 I/O SPI1_MISO UART2_RX reserved reserved EINT31 reserved
PI20 (276) E14 I/O PS2_SCK0 UART7_TX HSCL reserved reserved reserved
PI21 (277) E13 I/O PS2_SDA0 UART7_RX HSDA reserved reserved reserved

Other Pins

Port Ball Function Type
XP_TP Y22 Output AI
XN_TP AA22 Output AI
YP_TP Y23 Output AI
YN_TP AA23 Output AI

See also