Difference between revisions of "SOPine GPIO Alternate Functions Table"
Jump to navigation
Jump to search
Gamelaster (talk | contribs) m (Adding ids to GPIOs for redirecting support) |
Gamelaster (talk | contribs) m (Added descritipion) |
||
Line 1: | Line 1: | ||
This is table of all available GPIOs on SOPine with their alternate functions. For more information about GPIOs, check [http://files.pine64.org/doc/datasheet/pine64/A64_Datasheet_V1.1.pdf Allwinner A64 Datasheet] section '''4.2 GPIO Multiplexing Functions''' and section '''4.3 Detailed Pin/Signal Description''' | |||
{| class="wikitable" | {| class="wikitable" | ||
! Pin name !! Linux !! SOPine Pin !! Direction !! Default Function !! Default Pull !! Function 2 !! Function 3 !! Function 4 !! Function 5 !! Function 6 !! SOPine Name | ! Pin name !! Linux !! SOPine Pin !! Direction !! Default Function !! Default Pull !! Function 2 !! Function 3 !! Function 4 !! Function 5 !! Function 6 !! SOPine Name |
Revision as of 22:05, 20 October 2018
This is table of all available GPIOs on SOPine with their alternate functions. For more information about GPIOs, check Allwinner A64 Datasheet section 4.2 GPIO Multiplexing Functions and section 4.3 Detailed Pin/Signal Description
Pin name | Linux | SOPine Pin | Direction | Default Function | Default Pull | Function 2 | Function 3 | Function 4 | Function 5 | Function 6 | SOPine Name |
---|---|---|---|---|---|---|---|---|---|---|---|
PB0 | GPIO32 | 35 | I/O | DIS | Z | UART2_TX | JTAG_MS0 | PB_EINT0 | PB0-UART2_TX | ||
PB1 | GPIO33 | 75 | I/O | DIS | Z | UART2_RX | JTAG_CK0 | SIM_PWREN | PB_EINT1 | PB1-UART2_RX | |
PB2 | GPIO34 | 36 | I/O | DIS | Z | UART2_RTS | JTAG_DO0 | SIM_VPPEN | PB_EINT2 | PB2 | |
PB3 | GPIO35 | 30 | I/O | DIS | Z | UART2_CTS | I2S0_MCLK | JTAG_DI0 | SIM_VPPPP | PB_EINT3 | PB3-I3S_MCLK |
PB4 | GPIO36 | 28 | I/O | DIS | Z | AIF2_SYNC | PCM0_SYNC | SIM_CLK | PB_EINT4 | PB4-I2S_SYNC | |
PB5 | GPIO37 | 27 | I/O | DIS | Z | AIF2_BCLK | PCM0_BCLK | SIM_DATA | PB_EINT5 | PB5-I2S_BCLK | |
PB6 | GPIO38 | 39 | I/O | DIS | Z | AIF2_DOUT | PCM0_DOUT | SIM_RST | PB_EINT6 | PB6-I2S_DOUT | |
PB7 | GPIO39 | 29 | I/O | DIS | Z | AIF2_DIN | PCM0_DIN | SIM_DET | PB_EINT7 | PB7-I2S_DIN | |
PB8 | GPIO40 | 34 | I/O | DIS | Z | UART0_TX | PB_EINT8 | PB8 | |||
PB9 | GPIO41 | 33 | I/O | DIS | Z | UART0_RX | PB_EINT9 | PB9 | |||
PC0 | GPIO64 | 134 | I/O | DIS | Z | NAND_WE | SPI0_MOSI | PC0-SPIO_MOSI | |||
PC1 | GPIO65 | 150 | I/O | DIS | Z | NAND_ALE | SDC2_DS | SPI0_MISO | PC1-SPIO_MISO | ||
PC2 | GPIO66 | 142 | I/O | DIS | Z | NAND_CLE | SPI0_CLK | PC2-SPIO_CLK | |||
PC3 | GPIO67 | 148 | I/O | DIS | Pull-Up | NAND_CE1 | SPI0_CS | PC3-SPIO_CS | |||
PC4 | GPIO68 | 135 | I/O | DIS | Pull-Up | NAND_CE0 | PC4 | ||||
PC5 | GPIO69 | 25 | I/O | DIS | Z | NAND_RE | SDC2_CLK | PC5 | |||
PC6 | GPIO70 | 154 | I/O | DIS | Pull-Up | NAND_RB0 | SDC2_CMD | PC6 | |||
PC7 | GPIO71 | 132 | I/O | DIS | Pull-Up | NAND_RB1 | PC7 | ||||
PC8 | GPIO72 | 130 | I/O | DIS | Z | NAND_DQ0 | SDC2_D0 | PC8 | |||
PC9 | GPIO73 | 153 | I/O | DIS | Z | NAND_DQ1 | SDC2_D1 | PC9 | |||
PC10 | GPIO74 | 156 | I/O | DIS | Z | NAND_DQ2 | SDC2_D2 | PC10 | |||
PC11 | GPIO75 | 165 | I/O | DIS | Z | NAND_DQ3 | SDC2_D3 | PC11 | |||
PC12 | GPIO76 | 146 | I/O | DIS | Z | NAND_DQ4 | SDC2_D4 | PC12 | |||
PC13 | GPIO77 | 157 | I/O | DIS | Z | NAND_DQ5 | SDC2_D5 | PC13 | |||
PC14 | GPIO78 | 155 | I/O | DIS | Z | NAND_DQ6 | SDC2_D6 | PC14 | |||
PC15 | GPIO79 | 133 | I/O | DIS | Z | NAND_DQ7 | SDC2_D7 | PC15 | |||
PC16 | GPIO80 | 144 | I/O | DIS | Z | NAND_DQS | SDC2_RST | PC16 | |||
PD0 | GPIO96 | 60 | I/O | DIS | Z | LCD_D2 | UART3_TX | SPI1_CS | CCIR_CLK | PD0-SPI1_CS | |
PD1 | GPIO97 | 49 | I/O | DIS | Z | LCD_D3 | UART3_RX | SPI1_CLK | CCIR_DE | PD1-SPI1_CLK | |
PD2 | GPIO98 | 57 | I/O | DIS | Z | LCD_D4 | UART4_TX | SPI1_MOSI | CCIR_HSYNC | PD2-SPI1_MOSI | |
PD3 | GPIO99 | 61 | I/O | DIS | Z | LCD_D5 | UART4_RX | SPI1_MISO | CCIR_VSYNC | PD3-SPI1_MISO | |
PD4 | GPIO100 | 52 | I/O | DIS | Z | LCD_D6 | UART4_RTS | CCIR_D0 | PD4-UART4_RTS | ||
PD5 | GPIO101 | 44 | I/O | DIS | Z | LCD_D7 | UART4_CTS | CCIR_D1 | PD5-UART4_CTS | ||
PD6 | GPIO102 | 45 | I/O | DIS | Z | LCD_D10 | CCIR_D2 | PD6 | |||
PD7 | GPIO103 | 40 | I/O | DIS | Z | LCD_D11 | CCIR_D3 | PD7 | |||
PD8 | GPIO104 | 73 | I/O | DIS | Z | LCD_D12 | RGMII_RXD3/RMII_NULL | CCIR_D4 | GRXD3 | ||
PD9 | GPIO105 | 83 | I/O | DIS | Z | LCD_D13 | RGMII_RXD2/RMII_NULL | CCIR_D5 | GRXD2 | ||
PD10 | GPIO106 | 51 | I/O | DIS | Z | LCD_D14 | RGMII_RXD1/RMII_RXD1 | RMII-RXD1 | |||
PD11 | GPIO107 | 48 | I/O | DIS | Z | LCD_D15 | RGMII_RXD0/RMII_RXD0 | RMII-RXD0 | |||
PD12 | GPIO108 | 91 | I/O | DIS | Z | LCD_D18 | LVDS_VP0 | RGMII_RXCK/RMII_NULL | GRXCK | ||
PD13 | GPIO109 | 89 | I/O | DIS | Z | LCD_D19 | LVDS_VN0 | RGMII_RXCT/RMII_CRS_DV | RMII-CRS-DV | ||
PD14 | GPIO110 | 87 | I/O | DIS | Z | LCD_D20 | LVDS_VP1 | RGMII_NULL/RMII_RXER | RMII-RXER | ||
PD15 | GPIO111 | 80 | I/O | DIS | Z | LCD_D21 | LVDS_VN1 | RGMII_TXD3/RMII_NULL | CCIR_D6 | GTXD3 | |
PD16 | GPIO112 | 82 | I/O | DIS | Z | LCD_D22 | LVDS_VP2 | RGMII_TXD2/RMII_NULL | CCIR_D7 | GTXD2 | |
PD17 | GPIO113 | 78 | I/O | DIS | Z | LCD_D23 | LVDS_VN2 | RGMII_TXD1/RMII_TXD1 | RMII-TXD1 | ||
PD18 | GPIO114 | 85 | I/O | DIS | Z | LCD_CLK | LVDS_VPC | RGMII_TXD0/RMII_TXD0 | RMII-TXD0 | ||
PD19 | GPIO115 | 79 | I/O | DIS | Z | LCD_DE | LVDS_VNC | RGMII_TXCK/RMII_TXCK | RMII-TXCK | ||
PD20 | GPIO116 | 47 | I/O | DIS | Z | LCD_HSYNC | LVDS_VP3 | RGMII_TXCTL/RMII_TXEN | RMII-TXEN | ||
PD21 | GPIO117 | 74 | I/O | DIS | Z | LCD_VSYNC | LVDS_VN3 | RGMII_CLKINRMII_NULL | GCLKIN | ||
PD22 | GPIO118 | 53 | I/O | DIS | Z | PWM0 | MDC | RMII-MDC | |||
PD23 | GPIO119 | 76 | I/O | DIS | Z | MDIO | RMII-MDIO | ||||
PD24 | GPIO120 | 50 | I/O | DIS | Z | LCD-RST | |||||
PE0 | GPIO128 | 58 | I/O | DIS | Z | CSI_PCLK | TS_CLK | CSI-PCLK | |||
PE1 | GPIO129 | 102 | I/O | DIS | Z | CSI_MCLK | TS_ERR | CSI-MCLK | |||
PE2 | GPIO130 | 100 | I/O | DIS | Z | CSI_HSYNC | TS_SYNC | CSI-HSYNC | |||
PE3 | GPIO131 | 101 | I/O | DIS | Z | CSI_VSYNC | TS_DVLD | CSI-VSYNC | |||
PE4 | GPIO132 | 95 | I/O | DIS | Z | CSI_D0 | TS_D0 | CSI-D0 | |||
PE5 | GPIO133 | 54 | I/O | DIS | Z | CSI_D1 | TS_D1 | CSI-D1 | |||
PE6 | GPIO134 | 96 | I/O | DIS | Z | CSI_D2 | TS_D2 | CSI-D2 | |||
PE7 | GPIO135 | 65 | I/O | DIS | Z | CSI_D3 | TS_D3 | CSI-D3 | |||
PE8 | GPIO136 | 105 | I/O | DIS | Z | CSI_D4 | TS_D4 | CSI-D4 | |||
PE9 | GPIO137 | 59 | I/O | DIS | Z | CSI_D5 | TS_D5 | CSI-D5 | |||
PE10 | GPIO138 | 107 | I/O | DIS | Z | CSI_D6 | TS_D6 | CSI-D6 | |||
PE11 | GPIO139 | 111 | I/O | DIS | Z | CSI_D7 | TS_D7 | CSI-D7 | |||
PE12 | GPIO140 | 98 | I/O | DIS | Z | CSI_SCK | CSI-SCK | ||||
PE13 | GPIO141 | 113 | I/O | DIS | Z | CSI_SDA | CSI-SDA | ||||
PE16 | GPIO144 | 92 | I/O | DIS | Z | CSI-RST-F | |||||
PE17 | GPIO145 | 109 | I/O | DIS | Z | CSI-STBY-F | |||||
PG0 | GPIO192 | 72 | I/O | DIS | Z | SDC1_CLK | PG_EINT0 | WL-SDIO-CLK | |||
PG1 | GPIO193 | 108 | I/O | DIS | Z | SDC1_CMD | PG_EINT1 | WL-SDIO-CMD | |||
PG2 | GPIO194 | 63 | I/O | DIS | Z | SDC1_D0 | PG_EINT2 | WL-SDIO-D0 | |||
PG3 | GPIO195 | 110 | I/O | DIS | Z | SDC1_D1 | PG_EINT3 | WL-SDIO-D1 | |||
PG4 | GPIO196 | 106 | I/O | DIS | Z | SDC1_D2 | PG_EINT4 | WL-SDIO-D2 | |||
PG5 | GPIO197 | 112 | I/O | DIS | Z | SDC1_D3 | PG_EINT5 | WL-SDIO-D3 | |||
PG6 | GPIO198 | 90 | I/O | DIS | Z | UART1_TX | PG_EINT6 | BT-UART-RX | |||
PG7 | GPIO199 | 119 | I/O | DIS | Z | UART1_RX | PG_EINT7 | BT-UART-TX | |||
PG8 | GPIO200 | 88 | I/O | DIS | Z | UART1_RTS | PG_EINT8 | BT-UART-CTS | |||
PG9 | GPIO201 | 117 | I/O | DIS | Z | UART1_CTS | PG_EINT9 | BT-UART-RTS | |||
PG10 | GPIO202 | 99 | I/O | DIS | Z | AIF3_SYNC | PCM1_SYNC | PG_EINT10 | BT-PCM-SYNC | ||
PG11 | GPIO203 | 86 | I/O | DIS | Z | AIF3_BCLK | PCM1_BCLK | PG_EINT11 | BT-PCM-CLK | ||
PG12 | GPIO204 | 120 | I/O | DIS | Z | AIF3_DOUT | PCM1_DOUT | PG_EINT12 | BT-PCM-DIN | ||
PG13 | GPIO205 | 97 | I/O | DIS | Z | AIF3_DIN | PCM1_DIN | PG_EINT13 | BT-PCM-DOUT | ||
PH0 | GPIO224 | 43 | I/O | DIS | Z | I2C0_SCL | PH_EINT0 | TP-SCK | |||
PH1 | GPIO225 | 46 | I/O | DIS | Z | I2C0_SDA | PH_EINT1 | TP-SDA | |||
PH2 | GPIO226 | 62 | I/O | DIS | Z | I2C1_SCL | PH_EINT2 | PH2-TW1_SCK | |||
PH3 | GPIO227 | 37 | I/O | DIS | Z | I2C1_SDA | PH_EINT3 | PH3-TW1_SDA | |||
PH4 | GPIO228 | 64 | I/O | DIS | Z | UART3_TX | PH_EINT4 | TP-INT | |||
PH5 | GPIO229 | 68 | I/O | DIS | Z | UART3_RX | PH_EINT5 | PH5 | |||
PH6 | GPIO230 | 66 | I/O | DIS | Z | UART3_RTS | PH_EINT6 | PH6 | |||
PH7 | GPIO231 | 71 | I/O | DIS | Z | UART3_CTS | PH_EINT7 | PH7 | |||
PH8 | GPIO232 | 38 | I/O | DIS | Z | OWA_OUT | PH_EINT8 | PH8-OWA_OUT | |||
PH9 | GPIO233 | 77 | I/O | DIS | Z | PH_EINT9 | PH9 | ||||
PH10 | GPIO234 | 26 | I/O | DIS | Z | MIC_CLK | PH_EINT10 | LCD-BL-EN | |||
PH11 | GPIO235 | 67 | I/O | DIS | Z | MIC_DATA | PH_EINT11 | CTP-RST | |||
PL2 | GPIO354 | 21 | I/O | DIS | Z | S_UART_TX | S_PL_EINT2 | WL-REG-ON | |||
PL3 | GPIO355 | 23 | I/O | DIS | Z | S_UART_RX | S_PL_EINT3 | WL-WAKE-AP | |||
PL4 | GPIO356 | 14 | I/O | DIS | Z | S_JTAG_MS | S_PL_EINT4 | BT-RST-N | |||
PL5 | GPIO357 | 18 | I/O | DIS | Z | S_JTAG_CK | S_PL_EINT5 | BT-WAKE-AP | |||
PL6 | GPIO358 | 16 | I/O | DIS | Z | S_JTAG_DO | S_PL_EINT6 | AP-WAKE-BT | |||
PL7 | GPIO359 | 24 | I/O | DIS | Z | S_JTAG_DI | S_PL_EINT7 | PL7 | |||
PL8 | GPIO360 | 15 | I/O | DIS | Z | S_I2C_CLK | S_PL_EINT8 | PL8-S_TWI_SCK | |||
PL9 | GPIO361 | 17 | I/O | DIS | Z | S_I2C_SDA | S_PL_EINT9 | PL9-S_TWI_SDA | |||
PL10 | GPIO362 | 166 | I/O | DIS | Z | S_PWM | S_PL_EINT10 | PL10-S_PWM | |||
PL11 | GPIO363 | 13 | I/O | DIS | Z | S_CIR_RX | S_PL_EINT11 | PL11-IR_RX |