# Pinouts (PinMux)
-
auto-generated by [[pinouts.py]]
[[!toc ]]
+
+## Bank A (16 pins)
+
+| Pin | Mux0 | Mux1 | Mux2 | Mux3 |
+| --- | ----------- | ----------- | ----------- | ----------- |
+| 0 | A GPIOA_A0 | A MMC_CMD | A UARTQ1_TX | A SPI0_CLK |
+| 1 | A GPIOA_A1 | A MMC_CLK | A UARTQ1_RX | A SPI0_NSS |
+| 2 | A GPIOA_A2 | A MMC_D0 | A UARTQ1_CTS | A SPI0_MOSI |
+| 3 | A GPIOA_A3 | A MMC_D1 | A UARTQ1_RTS | A SPI0_MISO |
+| 4 | A GPIOA_A4 | A MMC_D2 | A TWI0_SDA | A EINT_0 |
+| 5 | A GPIOA_A5 | A MMC_D3 | A TWI0_SCL | A EINT_1 |
+| 6 | A GPIOA_A6 | A MMC_D4 | A SPI1_CLK | A EINT_2 |
+| 7 | A GPIOA_A7 | A MMC_D5 | A SPI1_NSS | A EINT_3 |
+| 8 | A GPIOA_A8 | A MMC_D6 | A SPI1_MOSI | A EINT_4 |
+| 9 | A GPIOA_A9 | A MMC_D7 | A SPI1_MISO | A EINT_5 |
+| 10 | A GPIOA_A10 | A EINT_0 | A SD0_CMD | A JTAG0_MS |
+| 11 | A GPIOA_A11 | A EINT_1 | A SD0_CLK | A JTAG0_DI |
+| 12 | A GPIOA_A12 | A EINT_2 | A SD0_D0 | A JTAG0_DO |
+| 13 | A GPIOA_A13 | A EINT_3 | A SD0_D1 | A JTAG0_CK |
+| 14 | A GPIOA_A14 | A EINT_4 | A SD0_D2 | A UART0_TX |
+| 15 | A GPIOA_A15 | A EINT_5 | A SD0_D3 | A UART0_RX |
+
+## Bank B (28 pins)
+
+| Pin | Mux0 | Mux1 | Mux2 | Mux3 |
+| --- | ----------- | ----------- | ----------- | ----------- |
+| 16 | B GPIOB_B0 | B LCD0_CK | B TWI0_SDA | B EINT_6 |
+| 17 | B GPIOB_B1 | B LCD0_DE | B TWI0_SCL | B EINT_7 |
+| 18 | B GPIOB_B2 | B LCD0_HS | B UART0_TX | B EINT_8 |
+| 19 | B GPIOB_B3 | B LCD0_VS | B UART0_RX | B EINT_9 |
+| 20 | B GPIOB_B4 | B LCD0_D0 | B QSPI_CK | B FB_AD8 |
+| 21 | B GPIOB_B5 | B LCD0_D1 | B QSPI_NSS | B FB_AD9 |
+| 22 | B GPIOB_B6 | B LCD0_D2 | B QSPI_IO0 | B FB_AD10 |
+| 23 | B GPIOB_B7 | B LCD0_D3 | B QSPI_IO1 | B FB_AD11 |
+| 24 | B GPIOB_B8 | B LCD0_D4 | | B FB_AD12 |
+| 25 | B GPIOB_B9 | B LCD0_D5 | B PWM_0 | B FB_AD13 |
+| 26 | B GPIOB_B10 | B LCD0_D6 | B UART2_TX | B FB_AD14 |
+| 27 | B GPIOB_B11 | B LCD0_D7 | B UART2_RX | B FB_AD15 |
+| 28 | B GPIOB_B12 | B LCD0_D8 | B SPI0_CLK | B FB_AD16 |
+| 29 | B GPIOB_B13 | B LCD0_D9 | B SPI0_NSS | B FB_AD17 |
+| 30 | B GPIOB_B14 | B LCD0_D10 | B SPI0_MOSI | B FB_AD18 |
+| 31 | B GPIOB_B15 | B LCD0_D11 | B SPI0_MISO | B FB_AD19 |
+| 32 | B GPIOB_B16 | B LCD0_D12 | B UART1_TX | B FB_AD20 |
+| 33 | B GPIOB_B17 | B LCD0_D13 | B UART1_RX | B FB_AD21 |
+| 34 | B GPIOB_B18 | B LCD0_D14 | B TWI2_SDA | B FB_AD22 |
+| 35 | B GPIOB_B19 | B LCD0_D15 | B TWI2_SCL | B FB_AD23 |
+| 36 | B GPIOB_B20 | B LCD0_D16 | B PWM_1 | B FB_AD24 |
+| 37 | B GPIOB_B21 | B LCD0_D17 | B PWM_2 | B FB_AD25 |
+| 38 | B GPIOB_B22 | B LCD0_D18 | B SD0_CMD | B FB_AD26 |
+| 39 | B GPIOB_B23 | B LCD0_D19 | B SD0_CLK | B FB_AD27 |
+| 40 | B GPIOB_B24 | B LCD0_D20 | B SD0_D0 | B FB_AD28 |
+| 41 | B GPIOB_B25 | B LCD0_D21 | B SD0_D1 | B FB_AD29 |
+| 42 | B GPIOB_B26 | B LCD0_D22 | B SD0_D2 | B FB_AD30 |
+| 43 | B GPIOB_B27 | B LCD0_D23 | B SD0_D3 | B FB_AD31 |
+
+## Bank C (24 pins)
+
+| Pin | Mux0 | Mux1 | Mux2 | Mux3 |
+| --- | ----------- | ----------- | ----------- | ----------- |
+| 44 | C GPIOC_C0 | C ULPI0_CK | | C EINT_10 |
+| 45 | C GPIOC_C1 | C ULPI0_DIR | | C EINT_11 |
+| 46 | C GPIOC_C2 | C ULPI0_STP | | C EINT_12 |
+| 47 | C GPIOC_C3 | C ULPI0_NXT | | C EINT_13 |
+| 48 | C GPIOC_C4 | C ULPI0_D0 | | C EINT_14 |
+| 49 | C GPIOC_C5 | C ULPI0_D1 | | C EINT_15 |
+| 50 | C GPIOC_C6 | C ULPI0_D2 | | C EINT_16 |
+| 51 | C GPIOC_C7 | C ULPI0_D3 | | C EINT_17 |
+| 52 | C GPIOC_C8 | C ULPI0_D4 | C SPI1_CLK | C JTAG1_MS |
+| 53 | C GPIOC_C9 | C ULPI0_D5 | C SPI1_NSS | C JTAG1_DI |
+| 54 | C GPIOC_C10 | C ULPI0_D6 | C SPI1_MOSI | C JTAG1_DO |
+| 55 | C GPIOC_C11 | C ULPI0_D7 | C SPI1_MISO | C JTAG1_CK |
+| 56 | C GPIOC_C12 | C ULPI1_CK | | C EINT_22 |
+| 57 | C GPIOC_C13 | C ULPI1_DIR | C IIS_MCK | C EINT_23 |
+| 58 | C GPIOC_C14 | C ULPI1_STP | C IIS_BCK | C EINT_24 |
+| 59 | C GPIOC_C15 | C ULPI1_NXT | C IIS_LRCK | C EINT_25 |
+| 60 | C GPIOC_C16 | C ULPI1_D0 | C IIS_DI | C EINT_26 |
+| 61 | C GPIOC_C17 | C ULPI1_D1 | C IIS_DO | C EINT_27 |
+| 62 | C GPIOC_C18 | C ULPI1_D2 | | C EINT_28 |
+| 63 | C GPIOC_C19 | C ULPI1_D3 | | C EINT_29 |
+| 64 | C GPIOC_C20 | C ULPI1_D4 | | C UARTQ0_TX |
+| 65 | C GPIOC_C21 | C ULPI1_D5 | C PWM_2 | C UARTQ0_RX |
+| 66 | C GPIOC_C22 | C ULPI1_D6 | C UART0_TX | C UARTQ0_CTS |
+| 67 | C GPIOC_C23 | C ULPI1_D7 | C UART0_RX | C UARTQ0_RTS |
+
+## Bank D (24 pins)
+
+| Pin | Mux0 | Mux1 | Mux2 | Mux3 |
+| --- | ----------- | ----------- | ----------- | ----------- |
+| 68 | D GPIOD_D0 | D FB_AD0 | D UARTQ0_TX | D EINT_30 |
+| 69 | D GPIOD_D1 | D FB_AD1 | D UARTQ0_RX | D EINT_31 |
+| 70 | D GPIOD_D2 | D FB_AD2 | D UARTQ0_CTS | D TWI1_SDA |
+| 71 | D GPIOD_D3 | D FB_AD3 | D UARTQ0_RTS | D TWI1_SCL |
+| 72 | D GPIOD_D4 | D FB_AD4 | D SD1_CMD | |
+| 73 | D GPIOD_D5 | D FB_AD5 | D SD1_CLK | |
+| 74 | D GPIOD_D6 | D FB_AD6 | D SD1_D0 | |
+| 75 | D GPIOD_D7 | D FB_AD7 | D SD1_D1 | |
+| 76 | D GPIOD_D8 | D FB_CS0 | D SD1_D2 | D TWI1_SDA |
+| 77 | D GPIOD_D9 | D FB_CS1 | D SD1_D3 | D TWI1_SCL |
+| 78 | D GPIOD_D10 | D FB_ALE | D FB_TS | D TWI0_SDA |
+| 79 | D GPIOD_D11 | D FB_OE | D FB_TBST | D TWI0_SCL |
+| 80 | D GPIOD_D12 | D FB_RW | | |
+| 81 | D GPIOD_D13 | D FB_TA | D UART2_TX | D EINT_5 |
+| 82 | D GPIOD_D14 | D FB_CLK | D UART2_RX | D EINT_6 |
+| 83 | D GPIOD_D15 | D FB_BWE0 | D FB_TSIZ0 | D EINT_7 |
+| 84 | D GPIOD_D16 | D FB_BWE1 | D FB_TSIZ1 | D EINT_8 |
+| 85 | D GPIOD_D17 | D FB_BWE2 | D FB_CS2 | D FB_A0 |
+| 86 | D GPIOD_D18 | D FB_BWE3 | D FB_CS3 | D FB_A1 |
+| 87 | D GPIOD_D19 | D FB_CS4 | D TWI2_SDA | D EINT_18 |
+| 88 | D GPIOD_D20 | D FB_CS5 | D TWI2_SCL | D EINT_19 |
+| 89 | D GPIOD_D21 | D PWM_0 | D UART1_TX | D EINT_20 |
+| 90 | D GPIOD_D22 | D PWM_1 | D UART1_RX | D EINT_21 |
+| 91 | D GPIOD_D23 | D PWM_2 | | D EINT_9 |
+
+## Bank E (24 pins)
+
+| Pin | Mux0 | Mux1 | Mux2 | Mux3 |
+| --- | ----------- | ----------- | ----------- | ----------- |
+| 92 | E GPIOE_E0 | E FB_AD8 | E SD1_CMD | E EINT_10 |
+| 93 | E GPIOE_E1 | E FB_AD9 | E SD1_CLK | E EINT_11 |
+| 94 | E GPIOE_E2 | E FB_AD10 | E SD1_D0 | E EINT_12 |
+| 95 | E GPIOE_E3 | E FB_AD11 | E SD1_D1 | E EINT_13 |
+| 96 | E GPIOE_E4 | E FB_AD12 | E SD1_D2 | E EINT_14 |
+| 97 | E GPIOE_E5 | E FB_AD13 | E SD1_D3 | E EINT_15 |
+| 98 | E GPIOE_E6 | E FB_AD14 | E TWI1_SDA | E EINT_16 |
+| 99 | E GPIOE_E7 | E FB_AD15 | E TWI1_SCL | E EINT_17 |
+| 100 | E GPIOE_E8 | E FB_AD16 | E SD2_CMD | E EINT_22 |
+| 101 | E GPIOE_E9 | E FB_AD17 | E SD2_CLK | E EINT_23 |
+| 102 | E GPIOE_E10 | E FB_AD18 | E SD2_D0 | E EINT_24 |
+| 103 | E GPIOE_E11 | E FB_AD19 | E SD2_D1 | E EINT_25 |
+| 104 | E GPIOE_E12 | E FB_AD20 | E SD2_D2 | E EINT_26 |
+| 105 | E GPIOE_E13 | E FB_AD21 | E SD2_D3 | E EINT_27 |
+| 106 | E GPIOE_E14 | E FB_AD22 | E UARTQ1_TX | E MMC_CMD |
+| 107 | E GPIOE_E15 | E FB_AD23 | E UARTQ1_RX | E MMC_CLK |
+| 108 | E GPIOE_E16 | E FB_AD24 | E UARTQ1_CTS | E MMC_D0 |
+| 109 | E GPIOE_E17 | E FB_AD25 | E UARTQ1_RTS | E MMC_D1 |
+| 110 | E GPIOE_E18 | E FB_AD26 | E QSPI_CK | E MMC_D2 |
+| 111 | E GPIOE_E19 | E FB_AD27 | E QSPI_NSS | E MMC_D3 |
+| 112 | E GPIOE_E20 | E FB_AD28 | E QSPI_IO0 | E MMC_D4 |
+| 113 | E GPIOE_E21 | E FB_AD29 | E QSPI_IO1 | E MMC_D5 |
+| 114 | E GPIOE_E22 | E FB_AD30 | E QSPI_IO2 | E MMC_D6 |
+| 115 | E GPIOE_E23 | E FB_AD31 | E QSPI_IO3 | E MMC_D7 |
+
+## Bank F (10 pins)
+
+| Pin | Mux0 | Mux1 | Mux2 | Mux3 |
+| --- | ----------- | ----------- | ----------- | ----------- |
+| 116 | F GPIOF_F0 | F IIS_MCK | F SD2_CMD | F EINT_18 |
+| 117 | F GPIOF_F1 | F IIS_BCK | F SD2_CLK | F EINT_19 |
+| 118 | F GPIOF_F2 | F IIS_LRCK | F SD2_D0 | F EINT_20 |
+| 119 | F GPIOF_F3 | F IIS_DI | F SD2_D1 | F EINT_21 |
+| 120 | F GPIOF_F4 | F IIS_DO | F SD2_D2 | F PWM_2 |
+| 121 | F GPIOF_F5 | | F SD2_D3 | F EINT_7 |
+| 122 | F GPIOF_F6 | | F TWI0_SDA | F EINT_28 |
+| 123 | F GPIOF_F7 | | F TWI0_SCL | F EINT_29 |
+| 124 | F GPIOF_F8 | F UART2_TX | F PWM_0 | F EINT_30 |
+| 125 | F GPIOF_F9 | F UART2_RX | F PWM_1 | F EINT_31 |
+
+## Bank G (32 pins)
+
| Pin | Mux0 | Mux1 | Mux2 | Mux3 |
| --- | ----------- | ----------- | ----------- | ----------- |
-| 0 | A GPIOA0 | A MMCCMD | A UART1_TX | A SPI1_CLK |
-| 1 | A GPIOA1 | A MMCCLK | A UART1_RX | A SPI1_NSS |
-| 2 | A GPIOA2 | A MMCD0 | A UART1_CTS | A SPI1_MOSI |
-| 3 | A GPIOA3 | A MMCD1 | A UART1_RTS | A SPI1_MISO |
-| 4 | A GPIOA4 | A MMCD2 | A TWI1_SDA | A EINT0 |
-| 5 | A GPIOA5 | A MMCD3 | A TWI1_SCL | A EINT1 |
-| 6 | A GPIOA6 | A MMCD4 | A SPI2_CLK | A EINT2 |
-| 7 | A GPIOA7 | A MMCD5 | A SPI2_NSS | A EINT3 |
-| 8 | A GPIOA8 | A MMCD6 | A SPI2_MOSI | A EINT4 |
-| 9 | A GPIOA9 | A MMCD7 | A SPI2_MISO | A EINT5 |
-| 10 | A GPIOA10 | A EINT0 | A SD1_CMD | A JTAG1_MS |
-| 11 | A GPIOA11 | A EINT1 | A SD1_CLK | A JTAG1_DI |
-| 12 | A GPIOA12 | A EINT2 | A SD1_D0 | A JTAG1_DO |
-| 13 | A GPIOA13 | A EINT3 | A SD1_D1 | A JTAG1_CK |
-| 14 | A GPIOA14 | A EINT4 | A SD1_D2 | A UART2_TX |
-| 15 | A GPIOA15 | A EINT5 | A SD1_D3 | A UART2_RX |
-| 16 | B GPIOB0 | B LCDCK_0 | B TWI1_SDA | B EINT6 |
-| 17 | B GPIOB1 | B LCDDE_0 | B TWI1_SCL | B EINT7 |
-| 18 | B GPIOB2 | B LCDHS_0 | B UART2_TX | B EINT8 |
-| 19 | B GPIOB3 | B LCDVS_0 | B UART2_RX | B EINT9 |
-| 20 | B GPIOB4 | B LCD0_0 | B SPI3_CK | B FB_AD8 |
-| 21 | B GPIOB5 | B LCD1_0 | B SPI3_NSS | B FB_AD9 |
-| 22 | B GPIOB6 | B LCD2_0 | B SPI3_IO0 | B FB_AD10 |
-| 23 | B GPIOB7 | B LCD3_0 | B SPI3_IO1 | B FB_AD11 |
-| 24 | B GPIOB8 | B LCD4_0 | | B FB_AD12 |
-| 25 | B GPIOB9 | B LCD5_0 | B PWM_0 | B FB_AD13 |
-| 26 | B GPIOB10 | B LCD6_0 | B UART4_TX | B FB_AD14 |
-| 27 | B GPIOB11 | B LCD7_0 | B UART4_RX | B FB_AD15 |
-| 28 | B GPIOB12 | B LCD8_0 | B SPI1_CLK | B FB_AD16 |
-| 29 | B GPIOB13 | B LCD9_0 | B SPI1_NSS | B FB_AD17 |
-| 30 | B GPIOB14 | B LCD10_0 | B SPI1_MOSI | B FB_AD18 |
-| 31 | B GPIOB15 | B LCD11_0 | B SPI1_MISO | B FB_AD19 |
-| 32 | B GPIOB16 | B LCD12_0 | B UART3_TX | B FB_AD20 |
-| 33 | B GPIOB17 | B LCD13_0 | B UART3_RX | B FB_AD21 |
-| 34 | B GPIOB18 | B LCD14_0 | B TWI3_SDA | B FB_AD22 |
-| 35 | B GPIOB19 | B LCD15_0 | B TWI3_SCL | B FB_AD23 |
-| 36 | B GPIOB20 | B LCD16_0 | B PWM_1 | B FB_AD24 |
-| 37 | B GPIOB21 | B LCD17_0 | B PWM_2 | B FB_AD25 |
-| 38 | B GPIOB22 | B LCD18_0 | B SD1_CMD | B FB_AD26 |
-| 39 | B GPIOB23 | B LCD19_0 | B SD1_CLK | B FB_AD27 |
-| 40 | B GPIOB24 | B LCD20_0 | B SD1_D0 | B FB_AD28 |
-| 41 | B GPIOB25 | B LCD21_0 | B SD1_D1 | B FB_AD29 |
-| 42 | B GPIOB26 | B LCD22_0 | B SD1_D2 | B FB_AD30 |
-| 43 | B GPIOB27 | B LCD23_0 | B SD1_D3 | B FB_AD31 |
-| 44 | C GPIOC0 | C ULPI1_CK | | C EINT10 |
-| 45 | C GPIOC1 | C ULPI1_DIR | | C EINT11 |
-| 46 | C GPIOC2 | C ULPI1_STP | | C EINT12 |
-| 47 | C GPIOC3 | C ULPI1_NXT | | C EINT13 |
-| 48 | C GPIOC4 | C ULPI1_D0 | | C EINT14 |
-| 49 | C GPIOC5 | C ULPI1_D1 | | C EINT15 |
-| 50 | C GPIOC6 | C ULPI1_D2 | | C EINT16 |
-| 51 | C GPIOC7 | C ULPI1_D3 | | C EINT17 |
-| 52 | C GPIOC8 | C ULPI1_D4 | C SPI2_CLK | C JTAG2_MS |
-| 53 | C GPIOC9 | C ULPI1_D5 | C SPI2_NSS | C JTAG2_DI |
-| 54 | C GPIOC10 | C ULPI1_D6 | C SPI2_MOSI | C JTAG2_DO |
-| 55 | C GPIOC11 | C ULPI1_D7 | C SPI2_MISO | C JTAG2_CK |
-| 56 | C GPIOC12 | C ULPI2_CK | C SPI2_NSS | C EINT22 |
-| 57 | C GPIOC13 | C ULPI2_DIR | C IISMCK | C EINT23 |
-| 58 | C GPIOC14 | C ULPI2_STP | C IISBCK | C EINT24 |
-| 59 | C GPIOC15 | C ULPI2_NXT | C IISLRCK | C EINT25 |
-| 60 | C GPIOC16 | C ULPI2_D0 | C IISDI | C EINT26 |
-| 61 | C GPIOC17 | C ULPI2_D1 | C IISDO0 | C EINT27 |
-| 62 | C GPIOC18 | C ULPI2_D2 | C IISDO1 | C EINT28 |
-| 63 | C GPIOC19 | C ULPI2_D3 | C IISDO2 | C EINT29 |
-| 64 | C GPIOC20 | C ULPI2_D4 | C IISDO3 | C UART0_TX |
-| 65 | C GPIOC21 | C ULPI2_D5 | C PWM_2 | C UART0_RX |
-| 66 | C GPIOC22 | C ULPI2_D6 | C UART2_TX | C UART0_CTS |
-| 67 | C GPIOC23 | C ULPI2_D7 | C UART2_RX | C UART0_RTS |
-| 68 | D GPIOD0 | D FB_AD0 | D UART0_TX | D EINT30 |
-| 69 | D GPIOD1 | D FB_AD1 | D UART0_RX | D EINT31 |
-| 70 | D GPIOD2 | D FB_AD2 | D UART0_CTS | D TWI2_SDA |
-| 71 | D GPIOD3 | D FB_AD3 | D UART0_RTS | D TWI2_SCL |
-| 72 | D GPIOD4 | D FB_AD4 | D SD2_CMD | |
-| 73 | D GPIOD5 | D FB_AD5 | D SD2_CLK | |
-| 74 | D GPIOD6 | D FB_AD6 | D SD2_D0 | |
-| 75 | D GPIOD7 | D FB_AD7 | D SD2_D1 | |
-| 76 | D GPIOD8 | D FB_CS0 | D SD2_D2 | |
-| 77 | D GPIOD9 | D FB_CS1 | D SD2_D3 | |
-| 78 | D GPIOD10 | D FB_ALE | D FB_TS | D TWI1_SDA |
-| 79 | D GPIOD11 | D FB_OE | D FB_TBST | D TWI1_SCL |
-| 80 | D GPIOD12 | D FB_RW | | |
-| 81 | D GPIOD13 | D FB_TA | D UART4_TX | D EINT5 |
-| 82 | D GPIOD14 | D FB_CLK | D UART4_RX | D EINT6 |
-| 83 | D GPIOD15 | D FB_BWE0 | D FB_TSIZ0 | D EINT7 |
-| 84 | D GPIOD16 | D FB_BWE1 | D FB_TSIZ1 | D EINT8 |
-| 85 | D GPIOD17 | D FB_BWE2 | D TWI2_SDA | D FB_A0 |
-| 86 | D GPIOD18 | D FB_BWE3 | D TWI2_SCL | D FB_A1 |
-| 87 | D GPIOD19 | D FB_CS4 | D TWI3_SDA | D EINT18 |
-| 88 | D GPIOD20 | D FB_CS5 | D TWI3_SCL | D EINT19 |
-| 89 | D GPIOD21 | D PWM_0 | D UART3_TX | D EINT20 |
-| 90 | D GPIOD22 | D PWM_1 | D UART3_RX | D EINT21 |
-| 91 | D GPIOD23 | D PWM_2 | | D EINT9 |
-| 92 | E GPIOE0 | E FB_AD8 | E SD2_CMD | E EINT10 |
-| 93 | E GPIOE1 | E FB_AD9 | E SD2_CLK | E EINT11 |
-| 94 | E GPIOE2 | E FB_AD10 | E SD2_D0 | E EINT12 |
-| 95 | E GPIOE3 | E FB_AD11 | E SD2_D1 | E EINT13 |
-| 96 | E GPIOE4 | E FB_AD12 | E SD2_D2 | E EINT14 |
-| 97 | E GPIOE5 | E FB_AD13 | E SD2_D3 | E EINT15 |
-| 98 | E GPIOE6 | E FB_AD14 | E TWI2_SDA | E EINT16 |
-| 99 | E GPIOE7 | E FB_AD15 | E TWI2_SCL | E EINT17 |
-| 100 | E GPIOE8 | E FB_AD16 | E SD3_CMD | E EINT22 |
-| 101 | E GPIOE9 | E FB_AD17 | E SD3_CLK | E EINT23 |
-| 102 | E GPIOE10 | E FB_AD18 | E SD3_D0 | E EINT24 |
-| 103 | E GPIOE11 | E FB_AD19 | E SD3_D1 | E EINT25 |
-| 104 | E GPIOE12 | E FB_AD20 | E SD3_D2 | E EINT26 |
-| 105 | E GPIOE13 | E FB_AD21 | E SD3_D3 | E EINT27 |
-| 106 | E GPIOE14 | E FB_AD22 | E UART1_TX | E MMCCMD |
-| 107 | E GPIOE15 | E FB_AD23 | E UART1_RX | E MMCCLK |
-| 108 | E GPIOE16 | E FB_AD24 | E UART1_CTS | E MMCD0 |
-| 109 | E GPIOE17 | E FB_AD25 | E UART1_RTS | E MMCD1 |
-| 110 | E GPIOE18 | E FB_AD26 | E SPI3_CK | E MMCD2 |
-| 111 | E GPIOE19 | E FB_AD27 | E SPI3_NSS | E MMCD3 |
-| 112 | E GPIOE20 | E FB_AD28 | E SPI3_IO0 | E MMCD4 |
-| 113 | E GPIOE21 | E FB_AD29 | E SPI3_IO1 | E MMCD5 |
-| 114 | E GPIOE22 | E FB_AD30 | E SPI3_IO2 | E MMCD6 |
-| 115 | E GPIOE23 | E FB_AD31 | E SPI3_IO3 | E MMCD7 |
-| 116 | F GPIOF0 | F IISMCK | F SD3_CMD | F EINT18 |
-| 117 | F GPIOF1 | F IISBCK | F SD3_CLK | F EINT19 |
-| 118 | F GPIOF2 | F IISLRCK | F SD3_D0 | F EINT20 |
-| 119 | F GPIOF3 | F IISDI | F SD3_D1 | F EINT21 |
-| 120 | F GPIOF4 | F IISDO0 | F SD3_D2 | F PWM_2 |
-| 121 | F GPIOF5 | F IISDO1 | F SD3_D3 | F EINT7 |
-| 122 | F GPIOF6 | F IISDO2 | F TWI1_SDA | F EINT28 |
-| 123 | F GPIOF7 | F IISDO3 | F TWI1_SCL | F EINT29 |
-| 124 | F GPIOF8 | F UART4_TX | F PWM_0 | F EINT30 |
-| 125 | F GPIOF9 | F UART4_RX | F PWM_1 | F EINT31 |
-| 126 | G GPIOG0 | G RG_ERXD0 | G LCDCK_1 | G FB_AD8 |
-| 127 | G GPIOG1 | G RG_ERXD1 | G LCDDE_1 | G FB_AD9 |
-| 128 | G GPIOG2 | G RG_ERXD2 | G LCDHS_1 | G FB_AD10 |
-| 129 | G GPIOG3 | G RG_ERXD3 | G LCDVS_1 | G FB_AD11 |
-| 130 | G GPIOG4 | G RG_ETXD0 | G LCD0_1 | G FB_AD12 |
-| 131 | G GPIOG5 | G RG_ETXD1 | G LCD1_1 | G FB_AD13 |
-| 132 | G GPIOG6 | G RG_ETXD2 | G LCD2_1 | G FB_AD14 |
-| 133 | G GPIOG7 | G RG_ETXD3 | G LCD3_1 | G FB_AD15 |
-| 134 | G GPIOG8 | G RG_FB_CS0 | G LCD4_1 | G FB_AD16 |
-| 135 | G GPIOG9 | G RG_FB_CS1 | G LCD5_1 | G FB_AD17 |
-| 136 | G GPIOG10 | G RG_ERXCK | G LCD6_1 | G FB_AD18 |
-| 137 | G GPIOG11 | G RG_ERXERR | G LCD7_1 | G FB_AD19 |
-| 138 | G GPIOG12 | G RG_ERXDV | G LCD8_1 | G FB_AD20 |
-| 139 | G GPIOG13 | G RG_EMDC | G LCD9_1 | G FB_AD21 |
-| 140 | G GPIOG14 | G RG_EMDIO | G LCD10_1 | G FB_AD22 |
-| 141 | G GPIOG15 | G RG_ETXEN | G LCD11_1 | G FB_AD23 |
-| 142 | G GPIOG16 | G RG_ETXCK | G LCD12_1 | G FB_AD24 |
-| 143 | G GPIOG17 | G RG_ECRS | G LCD13_1 | G FB_AD25 |
-| 144 | G GPIOG18 | G RG_ECOL | G LCD14_1 | G FB_AD26 |
-| 145 | G GPIOG19 | G RG_ETXERR | G LCD15_1 | G FB_AD27 |
-| 146 | G GPIOG20 | G ULPI3_CK | G LCD16_1 | G FB_AD28 |
-| 147 | G GPIOG21 | G ULPI3_DIR | G LCD17_1 | G FB_AD29 |
-| 148 | G GPIOG22 | G ULPI3_STP | G LCD18_1 | G FB_AD30 |
-| 149 | G GPIOG23 | G ULPI3_NXT | G LCD19_1 | G FB_AD31 |
-| 150 | G GPIOG24 | G ULPI3_D0 | G LCD20_1 | G SD2_CMD |
-| 151 | G GPIOG25 | G ULPI3_D1 | G LCD21_1 | G SD2_CLK |
-| 152 | G GPIOG26 | G ULPI3_D2 | G LCD22_1 | G SPI3_CK |
-| 153 | G GPIOG27 | G ULPI3_D3 | G LCD23_1 | G SPI3_NSS |
-| 154 | G GPIOG28 | G ULPI3_D4 | G SD2_D0 | G SPI3_IO0 |
-| 155 | G GPIOG29 | G ULPI3_D5 | G SD2_D1 | G SPI3_IO1 |
-| 156 | G GPIOG30 | G ULPI3_D6 | G SD2_D2 | G SPI3_IO2 |
-| 157 | G GPIOG31 | G ULPI3_D7 | G SD2_D3 | G SPI3_IO3 |
+| 126 | G GPIOG_G0 | G RG_ERXD0 | G LCD1_CK | G FB_AD8 |
+| 127 | G GPIOG_G1 | G RG_ERXD1 | G LCD1_DE | G FB_AD9 |
+| 128 | G GPIOG_G2 | G RG_ERXD2 | G LCD1_HS | G FB_AD10 |
+| 129 | G GPIOG_G3 | G RG_ERXD3 | G LCD1_VS | G FB_AD11 |
+| 130 | G GPIOG_G4 | G RG_ETXD0 | G LCD1_D0 | G FB_AD12 |
+| 131 | G GPIOG_G5 | G RG_ETXD1 | G LCD1_D1 | G FB_AD13 |
+| 132 | G GPIOG_G6 | G RG_ETXD2 | G LCD1_D2 | G FB_AD14 |
+| 133 | G GPIOG_G7 | G RG_ETXD3 | G LCD1_D3 | G FB_AD15 |
+| 134 | G GPIOG_G8 | G RG_ERXCK | G LCD1_D4 | G FB_AD16 |
+| 135 | G GPIOG_G9 | G RG_ERXERR | G LCD1_D5 | G FB_AD17 |
+| 136 | G GPIOG_G10 | G RG_ERXDV | G LCD1_D6 | G FB_AD18 |
+| 137 | G GPIOG_G11 | G RG_EMDC | G LCD1_D7 | G FB_AD19 |
+| 138 | G GPIOG_G12 | G RG_EMDIO | G LCD1_D8 | G FB_AD20 |
+| 139 | G GPIOG_G13 | G RG_ETXEN | G LCD1_D9 | G FB_AD21 |
+| 140 | G GPIOG_G14 | G RG_ETXCK | G LCD1_D10 | G FB_AD22 |
+| 141 | G GPIOG_G15 | G RG_ECRS | G LCD1_D11 | G FB_AD23 |
+| 142 | G GPIOG_G16 | G RG_ECOL | G LCD1_D12 | G FB_AD24 |
+| 143 | G GPIOG_G17 | G RG_ETXERR | G LCD1_D13 | G FB_AD25 |
+| 144 | G GPIOG_G18 | | G LCD1_D14 | G FB_AD26 |
+| 145 | G GPIOG_G19 | | G LCD1_D15 | G FB_AD27 |
+| 146 | G GPIOG_G20 | G ULPI2_CK | G LCD1_D16 | G FB_AD28 |
+| 147 | G GPIOG_G21 | G ULPI2_DIR | G LCD1_D17 | G FB_AD29 |
+| 148 | G GPIOG_G22 | G ULPI2_STP | G LCD1_D18 | G FB_AD30 |
+| 149 | G GPIOG_G23 | G ULPI2_NXT | G LCD1_D19 | G FB_AD31 |
+| 150 | G GPIOG_G24 | G ULPI2_D0 | G LCD1_D20 | G SD1_CMD |
+| 151 | G GPIOG_G25 | G ULPI2_D1 | G LCD1_D21 | G SD1_CLK |
+| 152 | G GPIOG_G26 | G ULPI2_D2 | G LCD1_D22 | G QSPI_CK |
+| 153 | G GPIOG_G27 | G ULPI2_D3 | G LCD1_D23 | G QSPI_NSS |
+| 154 | G GPIOG_G28 | G ULPI2_D4 | G SD1_D0 | G QSPI_IO0 |
+| 155 | G GPIOG_G29 | G ULPI2_D5 | G SD1_D1 | G QSPI_IO1 |
+| 156 | G GPIOG_G30 | G ULPI2_D6 | G SD1_D2 | G QSPI_IO2 |
+| 157 | G GPIOG_G31 | G ULPI2_D7 | G SD1_D3 | G QSPI_IO3 |
# Pinouts (Fixed function)
External Interrupt
-* EINT0 : A4/3 A10/1
-* EINT1 : A5/3 A11/1
-* EINT2 : A6/3 A12/1
-* EINT3 : A7/3 A13/1
-* EINT4 : A8/3 A14/1
-* EINT5 : A9/3 A15/1 D13/3
-* EINT6 : B0/3 D14/3
-* EINT7 : B1/3 D15/3 F5/3
-* EINT8 : B2/3 D16/3
-* EINT9 : B3/3 D23/3
-* EINT10 : C0/3 E0/3
-* EINT11 : C1/3 E1/3
-* EINT12 : C2/3 E2/3
-* EINT13 : C3/3 E3/3
-* EINT14 : C4/3 E4/3
-* EINT15 : C5/3 E5/3
-* EINT16 : C6/3 E6/3
-* EINT17 : C7/3 E7/3
-* EINT18 : D19/3 F0/3
-* EINT19 : D20/3 F1/3
-* EINT20 : D21/3 F2/3
-* EINT21 : D22/3 F3/3
-* EINT22 : C12/3 E8/3
-* EINT23 : C13/3 E9/3
-* EINT24 : C14/3 E10/3
-* EINT25 : C15/3 E11/3
-* EINT26 : C16/3 E12/3
-* EINT27 : C17/3 E13/3
-* EINT28 : C18/3 F6/3
-* EINT29 : C19/3 F7/3
-* EINT30 : D0/3 F8/3
-* EINT31 : D1/3 F9/3
+* EINT_0 : A4/3 A10/1
+* EINT_1 : A5/3 A11/1
+* EINT_2 : A6/3 A12/1
+* EINT_3 : A7/3 A13/1
+* EINT_4 : A8/3 A14/1
+* EINT_5 : A9/3 A15/1 D13/3
+* EINT_6 : B0/3 D14/3
+* EINT_7 : B1/3 D15/3 F5/3
+* EINT_8 : B2/3 D16/3
+* EINT_9 : B3/3 D23/3
+* EINT_10 : C0/3 E0/3
+* EINT_11 : C1/3 E1/3
+* EINT_12 : C2/3 E2/3
+* EINT_13 : C3/3 E3/3
+* EINT_14 : C4/3 E4/3
+* EINT_15 : C5/3 E5/3
+* EINT_16 : C6/3 E6/3
+* EINT_17 : C7/3 E7/3
+* EINT_18 : D19/3 F0/3
+* EINT_19 : D20/3 F1/3
+* EINT_20 : D21/3 F2/3
+* EINT_21 : D22/3 F3/3
+* EINT_22 : C12/3 E8/3
+* EINT_23 : C13/3 E9/3
+* EINT_24 : C14/3 E10/3
+* EINT_25 : C15/3 E11/3
+* EINT_26 : C16/3 E12/3
+* EINT_27 : C17/3 E13/3
+* EINT_28 : C18/3 F6/3
+* EINT_29 : C19/3 F7/3
+* EINT_30 : D0/3 F8/3
+* EINT_31 : D1/3 F9/3
## FB
* FB_CLK : D14/1
* FB_CS0 : D8/1
* FB_CS1 : D9/1
+* FB_CS2 : D17/2
+* FB_CS3 : D18/2
* FB_CS4 : D19/1
* FB_CS5 : D20/1
* FB_OE : D11/1
I2S Audio
-* IISBCK : C14/2 F1/1
-* IISDI : C16/2 F3/1
-* IISDO0 : C17/2 F4/1
-* IISDO1 : C18/2 F5/1
-* IISDO2 : C19/2 F6/1
-* IISDO3 : C20/2 F7/1
-* IISLRCK : C15/2 F2/1
-* IISMCK : C13/2 F0/1
+* IIS_BCK : C14/2 F1/1
+* IIS_DI : C16/2 F3/1
+* IIS_DO : C17/2 F4/1
+* IIS_LRCK : C15/2 F2/1
+* IIS_MCK : C13/2 F0/1
-## JTAG1
+## JTAG0
-JTAG (same as JTAG2, JTAG_SEL=LOW)
+JTAG (same as JTAG1, JTAG_SEL=LOW)
-* JTAG1_CK : A13/3
-* JTAG1_DI : A11/3
-* JTAG1_DO : A12/3
-* JTAG1_MS : A10/3
+* JTAG0_CK : A13/3
+* JTAG0_DI : A11/3
+* JTAG0_DO : A12/3
+* JTAG0_MS : A10/3
-## JTAG2
+## JTAG1
-JTAG (same as JTAG1, JTAG_SEL=HIGH)
+JTAG (same as JTAG0, JTAG_SEL=HIGH)
-* JTAG2_CK : C11/3
-* JTAG2_DI : C9/3
-* JTAG2_DO : C10/3
-* JTAG2_MS : C8/3
+* JTAG1_CK : C11/3
+* JTAG1_DI : C9/3
+* JTAG1_DO : C10/3
+* JTAG1_MS : C8/3
## LCD
24-pin RGB/TTL LCD
-* LCD0_0 : B4/1
-* LCD0_1 : G4/2
-* LCD1_0 : B5/1
-* LCD1_1 : G5/2
-* LCD10_0 : B14/1
-* LCD10_1 : G14/2
-* LCD11_0 : B15/1
-* LCD11_1 : G15/2
-* LCD12_0 : B16/1
-* LCD12_1 : G16/2
-* LCD13_0 : B17/1
-* LCD13_1 : G17/2
-* LCD14_0 : B18/1
-* LCD14_1 : G18/2
-* LCD15_0 : B19/1
-* LCD15_1 : G19/2
-* LCD16_0 : B20/1
-* LCD16_1 : G20/2
-* LCD17_0 : B21/1
-* LCD17_1 : G21/2
-* LCD18_0 : B22/1
-* LCD18_1 : G22/2
-* LCD19_0 : B23/1
-* LCD19_1 : G23/2
-* LCD2_0 : B6/1
-* LCD2_1 : G6/2
-* LCD20_0 : B24/1
-* LCD20_1 : G24/2
-* LCD21_0 : B25/1
-* LCD21_1 : G25/2
-* LCD22_0 : B26/1
-* LCD22_1 : G26/2
-* LCD23_0 : B27/1
-* LCD23_1 : G27/2
-* LCD3_0 : B7/1
-* LCD3_1 : G7/2
-* LCD4_0 : B8/1
-* LCD4_1 : G8/2
-* LCD5_0 : B9/1
-* LCD5_1 : G9/2
-* LCD6_0 : B10/1
-* LCD6_1 : G10/2
-* LCD7_0 : B11/1
-* LCD7_1 : G11/2
-* LCD8_0 : B12/1
-* LCD8_1 : G12/2
-* LCD9_0 : B13/1
-* LCD9_1 : G13/2
-* LCDCK_0 : B0/1
-* LCDCK_1 : G0/2
-* LCDDE_0 : B1/1
-* LCDDE_1 : G1/2
-* LCDHS_0 : B2/1
-* LCDHS_1 : G2/2
-* LCDVS_0 : B3/1
-* LCDVS_1 : G3/2
+* LCD0_CK : B0/1
+* LCD0_D0 : B4/1
+* LCD0_D1 : B5/1
+* LCD0_D10 : B14/1
+* LCD0_D11 : B15/1
+* LCD0_D12 : B16/1
+* LCD0_D13 : B17/1
+* LCD0_D14 : B18/1
+* LCD0_D15 : B19/1
+* LCD0_D16 : B20/1
+* LCD0_D17 : B21/1
+* LCD0_D18 : B22/1
+* LCD0_D19 : B23/1
+* LCD0_D2 : B6/1
+* LCD0_D20 : B24/1
+* LCD0_D21 : B25/1
+* LCD0_D22 : B26/1
+* LCD0_D23 : B27/1
+* LCD0_D3 : B7/1
+* LCD0_D4 : B8/1
+* LCD0_D5 : B9/1
+* LCD0_D6 : B10/1
+* LCD0_D7 : B11/1
+* LCD0_D8 : B12/1
+* LCD0_D9 : B13/1
+* LCD0_DE : B1/1
+* LCD0_HS : B2/1
+* LCD0_VS : B3/1
+* LCD1_CK : G0/2
+* LCD1_D0 : G4/2
+* LCD1_D1 : G5/2
+* LCD1_D10 : G14/2
+* LCD1_D11 : G15/2
+* LCD1_D12 : G16/2
+* LCD1_D13 : G17/2
+* LCD1_D14 : G18/2
+* LCD1_D15 : G19/2
+* LCD1_D16 : G20/2
+* LCD1_D17 : G21/2
+* LCD1_D18 : G22/2
+* LCD1_D19 : G23/2
+* LCD1_D2 : G6/2
+* LCD1_D20 : G24/2
+* LCD1_D21 : G25/2
+* LCD1_D22 : G26/2
+* LCD1_D23 : G27/2
+* LCD1_D3 : G7/2
+* LCD1_D4 : G8/2
+* LCD1_D5 : G9/2
+* LCD1_D6 : G10/2
+* LCD1_D7 : G11/2
+* LCD1_D8 : G12/2
+* LCD1_D9 : G13/2
+* LCD1_DE : G1/2
+* LCD1_HS : G2/2
+* LCD1_VS : G3/2
## MMC
eMMC 1/2/4/8 pin
-* MMCCLK : A1/1 E15/3
-* MMCCMD : A0/1 E14/3
-* MMCD0 : A2/1 E16/3
-* MMCD1 : A3/1 E17/3
-* MMCD2 : A4/1 E18/3
-* MMCD3 : A5/1 E19/3
-* MMCD4 : A6/1 E20/3
-* MMCD5 : A7/1 E21/3
-* MMCD6 : A8/1 E22/3
-* MMCD7 : A9/1 E23/3
+* MMC_CLK : A1/1 E15/3
+* MMC_CMD : A0/1 E14/3
+* MMC_D0 : A2/1 E16/3
+* MMC_D1 : A3/1 E17/3
+* MMC_D2 : A4/1 E18/3
+* MMC_D3 : A5/1 E19/3
+* MMC_D4 : A6/1 E20/3
+* MMC_D5 : A7/1 E21/3
+* MMC_D6 : A8/1 E22/3
+* MMC_D7 : A9/1 E23/3
## PWM
* PWM_1 : B20/2 D22/1 F9/2
* PWM_2 : B21/2 C21/2 D23/1 F4/3
+## QSPI
+
+Quad SPI (Serial Peripheral Interface) 1
+
+* QSPI_CK : B4/2 E18/2 G26/3
+* QSPI_IO0 : B6/2 E20/2 G28/3
+* QSPI_IO1 : B7/2 E21/2 G29/3
+* QSPI_IO2 : E22/2 G30/3
+* QSPI_IO3 : E23/2 G31/3
+* QSPI_NSS : B5/2 E19/2 G27/3
+
## RG
RGMII Ethernet
-* RG_ECOL : G18/1
-* RG_ECRS : G17/1
-* RG_EMDC : G13/1
-* RG_EMDIO : G14/1
-* RG_ERXCK : G10/1
+* RG_ECOL : G16/1
+* RG_ECRS : G15/1
+* RG_EMDC : G11/1
+* RG_EMDIO : G12/1
+* RG_ERXCK : G8/1
* RG_ERXD0 : G0/1
* RG_ERXD1 : G1/1
* RG_ERXD2 : G2/1
* RG_ERXD3 : G3/1
-* RG_ERXDV : G12/1
-* RG_ERXERR : G11/1
-* RG_ETXCK : G16/1
+* RG_ERXDV : G10/1
+* RG_ERXERR : G9/1
+* RG_ETXCK : G14/1
* RG_ETXD0 : G4/1
* RG_ETXD1 : G5/1
* RG_ETXD2 : G6/1
* RG_ETXD3 : G7/1
-* RG_ETXEN : G15/1
-* RG_ETXERR : G19/1
-* RG_FB_CS0 : G8/1
-* RG_FB_CS1 : G9/1
+* RG_ETXEN : G13/1
+* RG_ETXERR : G17/1
+
+## SD0
+
+SD/MMC 0
+
+* SD0_CLK : A11/2 B23/2
+* SD0_CMD : A10/2 B22/2
+* SD0_D0 : A12/2 B24/2
+* SD0_D1 : A13/2 B25/2
+* SD0_D2 : A14/2 B26/2
+* SD0_D3 : A15/2 B27/2
## SD1
SD/MMC 1
-* SD1_CLK : A11/2 B23/2
-* SD1_CMD : A10/2 B22/2
-* SD1_D0 : A12/2 B24/2
-* SD1_D1 : A13/2 B25/2
-* SD1_D2 : A14/2 B26/2
-* SD1_D3 : A15/2 B27/2
+* SD1_CLK : D5/2 E1/2 G25/3
+* SD1_CMD : D4/2 E0/2 G24/3
+* SD1_D0 : D6/2 E2/2 G28/2
+* SD1_D1 : D7/2 E3/2 G29/2
+* SD1_D2 : D8/2 E4/2 G30/2
+* SD1_D3 : D9/2 E5/2 G31/2
## SD2
SD/MMC 2
-* SD2_CLK : D5/2 E1/2 G25/3
-* SD2_CMD : D4/2 E0/2 G24/3
-* SD2_D0 : D6/2 E2/2 G28/2
-* SD2_D1 : D7/2 E3/2 G29/2
-* SD2_D2 : D8/2 E4/2 G30/2
-* SD2_D3 : D9/2 E5/2 G31/2
+* SD2_CLK : E9/2 F1/2
+* SD2_CMD : E8/2 F0/2
+* SD2_D0 : E10/2 F2/2
+* SD2_D1 : E11/2 F3/2
+* SD2_D2 : E12/2 F4/2
+* SD2_D3 : E13/2 F5/2
-## SD3
+## SPI0
-SD/MMC 3
+SPI (Serial Peripheral Interface) 0
-* SD3_CLK : E9/2 F1/2
-* SD3_CMD : E8/2 F0/2
-* SD3_D0 : E10/2 F2/2
-* SD3_D1 : E11/2 F3/2
-* SD3_D2 : E12/2 F4/2
-* SD3_D3 : E13/2 F5/2
+* SPI0_CLK : A0/3 B12/2
+* SPI0_MISO : A3/3 B15/2
+* SPI0_MOSI : A2/3 B14/2
+* SPI0_NSS : A1/3 B13/2
## SPI1
SPI (Serial Peripheral Interface) 1
-* SPI1_CLK : A0/3 B12/2
-* SPI1_MISO : A3/3 B15/2
-* SPI1_MOSI : A2/3 B14/2
-* SPI1_NSS : A1/3 B13/2
-
-## SPI2
-
-SPI (Serial Peripheral Interface) 2
-
-* SPI2_CLK : A6/2 C8/2
-* SPI2_MISO : A9/2 C11/2
-* SPI2_MOSI : A8/2 C10/2
-* SPI2_NSS : A7/2 C9/2 C12/2
-
-## SPI3
-
-Quad SPI (Serial Peripheral Interface) 3
-
-* SPI3_CK : B4/2 E18/2 G26/3
-* SPI3_IO0 : B6/2 E20/2 G28/3
-* SPI3_IO1 : B7/2 E21/2 G29/3
-* SPI3_IO2 : E22/2 G30/3
-* SPI3_IO3 : E23/2 G31/3
-* SPI3_NSS : B5/2 E19/2 G27/3
+* SPI1_CLK : A6/2 C8/2
+* SPI1_MISO : A9/2 C11/2
+* SPI1_MOSI : A8/2 C10/2
+* SPI1_NSS : A7/2 C9/2
-## TWI1
+## TWI0
I2C 1
-* TWI1_SCL : A5/2 B1/2 D11/3 F7/2
-* TWI1_SDA : A4/2 B0/2 D10/3 F6/2
+* TWI0_SCL : A5/2 B1/2 D11/3 F7/2
+* TWI0_SDA : A4/2 B0/2 D10/3 F6/2
-## TWI2
+## TWI1
I2C 2
-* TWI2_SCL : D3/3 D18/2 E7/2
-* TWI2_SDA : D2/3 D17/2 E6/2
+* TWI1_SCL : D3/3 D9/3 E7/2
+* TWI1_SDA : D2/3 D8/3 E6/2
-## TWI3
+## TWI2
I2C 3
-* TWI3_SCL : B19/2 D20/2
-* TWI3_SDA : B18/2 D19/2
+* TWI2_SCL : B19/2 D20/2
+* TWI2_SDA : B18/2 D19/2
## UART0
-UART (TX/RX/CTS/RTS) 0
+UART (TX/RX) 0
-* UART0_CTS : C22/3 D2/2
-* UART0_RTS : C23/3 D3/2
-* UART0_RX : C21/3 D1/2
-* UART0_TX : C20/3 D0/2
+* UART0_RX : A15/3 B3/2 C23/2
+* UART0_TX : A14/3 B2/2 C22/2
## UART1
-UART (TX/RX/CTS/RTS) 1
+UART (TX/RX) 1
-* UART1_CTS : A2/2 E16/2
-* UART1_RTS : A3/2 E17/2
-* UART1_RX : A1/2 E15/2
-* UART1_TX : A0/2 E14/2
+* UART1_RX : B17/2 D22/2
+* UART1_TX : B16/2 D21/2
## UART2
UART (TX/RX) 2
-* UART2_RX : A15/3 B3/2 C23/2
-* UART2_TX : A14/3 B2/2 C22/2
+* UART2_RX : B11/2 D14/2 F9/1
+* UART2_TX : B10/2 D13/2 F8/1
-## UART3
+## UARTQ0
-UART (TX/RX) 3
+UART (TX/RX/CTS/RTS) 0
-* UART3_RX : B17/2 D22/2
-* UART3_TX : B16/2 D21/2
+* UARTQ0_CTS : C22/3 D2/2
+* UARTQ0_RTS : C23/3 D3/2
+* UARTQ0_RX : C21/3 D1/2
+* UARTQ0_TX : C20/3 D0/2
-## UART4
+## UARTQ1
-UART (TX/RX) 4
+UART (TX/RX/CTS/RTS) 1
-* UART4_RX : B11/2 D14/2 F9/1
-* UART4_TX : B10/2 D13/2 F8/1
+* UARTQ1_CTS : A2/2 E16/2
+* UARTQ1_RTS : A3/2 E17/2
+* UARTQ1_RX : A1/2 E15/2
+* UARTQ1_TX : A0/2 E14/2
-## ULPI1
+## ULPI0
ULPI (USB Low Pin-count) 1
-* ULPI1_CK : C0/1
-* ULPI1_D0 : C4/1
-* ULPI1_D1 : C5/1
-* ULPI1_D2 : C6/1
-* ULPI1_D3 : C7/1
-* ULPI1_D4 : C8/1
-* ULPI1_D5 : C9/1
-* ULPI1_D6 : C10/1
-* ULPI1_D7 : C11/1
-* ULPI1_DIR : C1/1
-* ULPI1_NXT : C3/1
-* ULPI1_STP : C2/1
+* ULPI0_CK : C0/1
+* ULPI0_D0 : C4/1
+* ULPI0_D1 : C5/1
+* ULPI0_D2 : C6/1
+* ULPI0_D3 : C7/1
+* ULPI0_D4 : C8/1
+* ULPI0_D5 : C9/1
+* ULPI0_D6 : C10/1
+* ULPI0_D7 : C11/1
+* ULPI0_DIR : C1/1
+* ULPI0_NXT : C3/1
+* ULPI0_STP : C2/1
-## ULPI2
+## ULPI1
ULPI (USB Low Pin-count) 2
-* ULPI2_CK : C12/1
-* ULPI2_D0 : C16/1
-* ULPI2_D1 : C17/1
-* ULPI2_D2 : C18/1
-* ULPI2_D3 : C19/1
-* ULPI2_D4 : C20/1
-* ULPI2_D5 : C21/1
-* ULPI2_D6 : C22/1
-* ULPI2_D7 : C23/1
-* ULPI2_DIR : C13/1
-* ULPI2_NXT : C15/1
-* ULPI2_STP : C14/1
-
-## ULPI3
+* ULPI1_CK : C12/1
+* ULPI1_D0 : C16/1
+* ULPI1_D1 : C17/1
+* ULPI1_D2 : C18/1
+* ULPI1_D3 : C19/1
+* ULPI1_D4 : C20/1
+* ULPI1_D5 : C21/1
+* ULPI1_D6 : C22/1
+* ULPI1_D7 : C23/1
+* ULPI1_DIR : C13/1
+* ULPI1_NXT : C15/1
+* ULPI1_STP : C14/1
+
+## ULPI2
ULPI (USB Low Pin-count) 3
-* ULPI3_CK : G20/1
-* ULPI3_D0 : G24/1
-* ULPI3_D1 : G25/1
-* ULPI3_D2 : G26/1
-* ULPI3_D3 : G27/1
-* ULPI3_D4 : G28/1
-* ULPI3_D5 : G29/1
-* ULPI3_D6 : G30/1
-* ULPI3_D7 : G31/1
-* ULPI3_DIR : G21/1
-* ULPI3_NXT : G23/1
-* ULPI3_STP : G22/1
+* ULPI2_CK : G20/1
+* ULPI2_D0 : G24/1
+* ULPI2_D1 : G25/1
+* ULPI2_D2 : G26/1
+* ULPI2_D3 : G27/1
+* ULPI2_D4 : G28/1
+* ULPI2_D5 : G29/1
+* ULPI2_D6 : G30/1
+* ULPI2_D7 : G31/1
+* ULPI2_DIR : G21/1
+* ULPI2_NXT : G23/1
+* ULPI2_STP : G22/1
# Pinmap for EOMA68
EOMA68-compliance, 18-bit RGB/TTL LCD
-* LCDCK_0 16 B0/1
-* LCDDE_0 17 B1/1
-* LCDHS_0 18 B2/1
-* LCDVS_0 19 B3/1
-* LCD0_0 20 B4/1
-* LCD1_0 21 B5/1
-* LCD2_0 22 B6/1
-* LCD3_0 23 B7/1
-* LCD4_0 24 B8/1
-* LCD5_0 25 B9/1
-* LCD6_0 26 B10/1
-* LCD7_0 27 B11/1
-* LCD8_0 28 B12/1
-* LCD9_0 29 B13/1
-* LCD10_0 30 B14/1
-* LCD11_0 31 B15/1
-* LCD12_0 32 B16/1
-* LCD13_0 33 B17/1
-* LCD14_0 34 B18/1
-* LCD15_0 35 B19/1
-* LCD16_0 36 B20/1
-* LCD17_0 37 B21/1
-
-## ULPI1/8
+* LCD0_CK 16 B0/1
+* LCD0_DE 17 B1/1
+* LCD0_HS 18 B2/1
+* LCD0_VS 19 B3/1
+* LCD0_D0 20 B4/1
+* LCD0_D1 21 B5/1
+* LCD0_D2 22 B6/1
+* LCD0_D3 23 B7/1
+* LCD0_D4 24 B8/1
+* LCD0_D5 25 B9/1
+* LCD0_D6 26 B10/1
+* LCD0_D7 27 B11/1
+* LCD0_D8 28 B12/1
+* LCD0_D9 29 B13/1
+* LCD0_D10 30 B14/1
+* LCD0_D11 31 B15/1
+* LCD0_D12 32 B16/1
+* LCD0_D13 33 B17/1
+* LCD0_D14 34 B18/1
+* LCD0_D15 35 B19/1
+* LCD0_D16 36 B20/1
+* LCD0_D17 37 B21/1
+
+## ULPI0/8
user-facing: internal (on Card), USB-OTG ULPI PHY
-* ULPI1_CK 44 C0/1
-* ULPI1_DIR 45 C1/1
-* ULPI1_STP 46 C2/1
-* ULPI1_NXT 47 C3/1
-* ULPI1_D0 48 C4/1
-* ULPI1_D1 49 C5/1
-* ULPI1_D2 50 C6/1
-* ULPI1_D3 51 C7/1
+* ULPI0_CK 44 C0/1
+* ULPI0_DIR 45 C1/1
+* ULPI0_STP 46 C2/1
+* ULPI0_NXT 47 C3/1
+* ULPI0_D0 48 C4/1
+* ULPI0_D1 49 C5/1
+* ULPI0_D2 50 C6/1
+* ULPI0_D3 51 C7/1
-## ULPI2
+## ULPI1
EOMA68-compliance: dual USB2 Host ULPI PHY
-* ULPI2_CK 56 C12/1
-* ULPI2_DIR 57 C13/1
-* ULPI2_STP 58 C14/1
-* ULPI2_NXT 59 C15/1
-* ULPI2_D0 60 C16/1
-* ULPI2_D1 61 C17/1
-* ULPI2_D2 62 C18/1
-* ULPI2_D3 63 C19/1
-* ULPI2_D4 64 C20/1
-* ULPI2_D5 65 C21/1
-* ULPI2_D6 66 C22/1
-* ULPI2_D7 67 C23/1
+* ULPI1_CK 56 C12/1
+* ULPI1_DIR 57 C13/1
+* ULPI1_STP 58 C14/1
+* ULPI1_NXT 59 C15/1
+* ULPI1_D0 60 C16/1
+* ULPI1_D1 61 C17/1
+* ULPI1_D2 62 C18/1
+* ULPI1_D3 63 C19/1
+* ULPI1_D4 64 C20/1
+* ULPI1_D5 65 C21/1
+* ULPI1_D6 66 C22/1
+* ULPI1_D7 67 C23/1
## MMC
internal (on Card)
-* MMCCMD 0 A0/1
-* MMCCLK 1 A1/1
-* MMCD0 2 A2/1
-* MMCD1 3 A3/1
-* MMCD2 4 A4/1
-* MMCD3 5 A5/1
-* MMCD4 6 A6/1
-* MMCD5 7 A7/1
-* MMCD6 8 A8/1
-* MMCD7 9 A9/1
-
-## SD1
-
-user-facing: internal (on Card), multiplexed with JTAG1
-and UART2, for debug purposes
+* MMC_CMD 0 A0/1
+* MMC_CLK 1 A1/1
+* MMC_D0 2 A2/1
+* MMC_D1 3 A3/1
+* MMC_D2 4 A4/1
+* MMC_D3 5 A5/1
+* MMC_D4 6 A6/1
+* MMC_D5 7 A7/1
+* MMC_D6 8 A8/1
+* MMC_D7 9 A9/1
+
+## SD0
+
+user-facing: internal (on Card), multiplexed with JTAG0
+and UART0, for debug purposes
+
+* SD0_CMD 10 A10/2
+* SD0_CLK 11 A11/2
+* SD0_D0 12 A12/2
+* SD0_D1 13 A13/2
+* SD0_D2 14 A14/2
+* SD0_D3 15 A15/2
-* SD1_CMD 10 A10/2
-* SD1_CLK 11 A11/2
-* SD1_D0 12 A12/2
-* SD1_D1 13 A13/2
-* SD1_D2 14 A14/2
-* SD1_D3 15 A15/2
-
-## UART3
+## UART1
EOMA68-compliance
-* UART3_TX 89 D21/2
-* UART3_RX 90 D22/2
+* UART1_TX 89 D21/2
+* UART1_RX 90 D22/2
-## TWI3
+## TWI2
EOMA68-compliance: must be entirely free of devices.
Address 0x51 used (externally) for EOMA68 EEPROM Id
-* TWI3_SDA 87 D19/2
-* TWI3_SCL 88 D20/2
+* TWI2_SDA 87 D19/2
+* TWI2_SCL 88 D20/2
-## SPI2
+## SPI1
EOMA68-compliance
-* SPI2_CLK 52 C8/2
-* SPI2_NSS 53 C9/2
-* SPI2_MOSI 54 C10/2
-* SPI2_MISO 55 C11/2
+* SPI1_CLK 52 C8/2
+* SPI1_NSS 53 C9/2
+* SPI1_MOSI 54 C10/2
+* SPI1_MISO 55 C11/2
-## E2:SD2
+## E2:SD1
EOMA68-compliance
-* SD2_CMD 92 E0/2
-* SD2_CLK 93 E1/2
-* SD2_D0 94 E2/2
-* SD2_D1 95 E3/2
-* SD2_D2 96 E4/2
-* SD2_D3 97 E5/2
+* SD1_CMD 92 E0/2
+* SD1_CLK 93 E1/2
+* SD1_D0 94 E2/2
+* SD1_D1 95 E3/2
+* SD1_D2 96 E4/2
+* SD1_D3 97 E5/2
## EINT
-* EINT16 98 E6/3
-* EINT17 99 E7/3
-* EINT18 116 F0/3
-* EINT19 117 F1/3
+* EINT_16 98 E6/3
+* EINT_17 99 E7/3
+* EINT_18 116 F0/3
+* EINT_19 117 F1/3
## PWM
| Pin | Mux0 | Mux1 | Mux2 | Mux3 |
| --- | ----------- | ----------- | ----------- | ----------- |
-| 38 | B GPIOB22 | B LCD18_0 | B SD1_CMD | B FB_AD26 |
-| 39 | B GPIOB23 | B LCD19_0 | B SD1_CLK | B FB_AD27 |
-| 40 | B GPIOB24 | B LCD20_0 | B SD1_D0 | B FB_AD28 |
-| 41 | B GPIOB25 | B LCD21_0 | B SD1_D1 | B FB_AD29 |
-| 42 | B GPIOB26 | B LCD22_0 | B SD1_D2 | B FB_AD30 |
-| 43 | B GPIOB27 | B LCD23_0 | B SD1_D3 | B FB_AD31 |
-| 68 | D GPIOD0 | D FB_AD0 | D UART0_TX | D EINT30 |
-| 69 | D GPIOD1 | D FB_AD1 | D UART0_RX | D EINT31 |
-| 70 | D GPIOD2 | D FB_AD2 | D UART0_CTS | D TWI2_SDA |
-| 71 | D GPIOD3 | D FB_AD3 | D UART0_RTS | D TWI2_SCL |
-| 72 | D GPIOD4 | D FB_AD4 | D SD2_CMD | |
-| 73 | D GPIOD5 | D FB_AD5 | D SD2_CLK | |
-| 74 | D GPIOD6 | D FB_AD6 | D SD2_D0 | |
-| 75 | D GPIOD7 | D FB_AD7 | D SD2_D1 | |
-| 76 | D GPIOD8 | D FB_CS0 | D SD2_D2 | |
-| 77 | D GPIOD9 | D FB_CS1 | D SD2_D3 | |
-| 78 | D GPIOD10 | D FB_ALE | D FB_TS | D TWI1_SDA |
-| 79 | D GPIOD11 | D FB_OE | D FB_TBST | D TWI1_SCL |
-| 80 | D GPIOD12 | D FB_RW | | |
-| 81 | D GPIOD13 | D FB_TA | D UART4_TX | D EINT5 |
-| 82 | D GPIOD14 | D FB_CLK | D UART4_RX | D EINT6 |
-| 83 | D GPIOD15 | D FB_BWE0 | D FB_TSIZ0 | D EINT7 |
-| 84 | D GPIOD16 | D FB_BWE1 | D FB_TSIZ1 | D EINT8 |
-| 85 | D GPIOD17 | D FB_BWE2 | D TWI2_SDA | D FB_A0 |
-| 86 | D GPIOD18 | D FB_BWE3 | D TWI2_SCL | D FB_A1 |
-| 100 | E GPIOE8 | E FB_AD16 | E SD3_CMD | E EINT22 |
-| 101 | E GPIOE9 | E FB_AD17 | E SD3_CLK | E EINT23 |
-| 102 | E GPIOE10 | E FB_AD18 | E SD3_D0 | E EINT24 |
-| 103 | E GPIOE11 | E FB_AD19 | E SD3_D1 | E EINT25 |
-| 104 | E GPIOE12 | E FB_AD20 | E SD3_D2 | E EINT26 |
-| 105 | E GPIOE13 | E FB_AD21 | E SD3_D3 | E EINT27 |
-| 106 | E GPIOE14 | E FB_AD22 | E UART1_TX | E MMCCMD |
-| 107 | E GPIOE15 | E FB_AD23 | E UART1_RX | E MMCCLK |
-| 108 | E GPIOE16 | E FB_AD24 | E UART1_CTS | E MMCD0 |
-| 109 | E GPIOE17 | E FB_AD25 | E UART1_RTS | E MMCD1 |
-| 110 | E GPIOE18 | E FB_AD26 | E SPI3_CK | E MMCD2 |
-| 111 | E GPIOE19 | E FB_AD27 | E SPI3_NSS | E MMCD3 |
-| 112 | E GPIOE20 | E FB_AD28 | E SPI3_IO0 | E MMCD4 |
-| 113 | E GPIOE21 | E FB_AD29 | E SPI3_IO1 | E MMCD5 |
-| 114 | E GPIOE22 | E FB_AD30 | E SPI3_IO2 | E MMCD6 |
-| 115 | E GPIOE23 | E FB_AD31 | E SPI3_IO3 | E MMCD7 |
-| 118 | F GPIOF2 | F IISLRCK | F SD3_D0 | F EINT20 |
-| 119 | F GPIOF3 | F IISDI | F SD3_D1 | F EINT21 |
-| 120 | F GPIOF4 | F IISDO0 | F SD3_D2 | F PWM_2 |
-| 121 | F GPIOF5 | F IISDO1 | F SD3_D3 | F EINT7 |
-| 122 | F GPIOF6 | F IISDO2 | F TWI1_SDA | F EINT28 |
-| 123 | F GPIOF7 | F IISDO3 | F TWI1_SCL | F EINT29 |
-| 124 | F GPIOF8 | F UART4_TX | F PWM_0 | F EINT30 |
-| 125 | F GPIOF9 | F UART4_RX | F PWM_1 | F EINT31 |
-| 126 | G GPIOG0 | G RG_ERXD0 | G LCDCK_1 | G FB_AD8 |
-| 127 | G GPIOG1 | G RG_ERXD1 | G LCDDE_1 | G FB_AD9 |
-| 128 | G GPIOG2 | G RG_ERXD2 | G LCDHS_1 | G FB_AD10 |
-| 129 | G GPIOG3 | G RG_ERXD3 | G LCDVS_1 | G FB_AD11 |
-| 130 | G GPIOG4 | G RG_ETXD0 | G LCD0_1 | G FB_AD12 |
-| 131 | G GPIOG5 | G RG_ETXD1 | G LCD1_1 | G FB_AD13 |
-| 132 | G GPIOG6 | G RG_ETXD2 | G LCD2_1 | G FB_AD14 |
-| 133 | G GPIOG7 | G RG_ETXD3 | G LCD3_1 | G FB_AD15 |
-| 134 | G GPIOG8 | G RG_FB_CS0 | G LCD4_1 | G FB_AD16 |
-| 135 | G GPIOG9 | G RG_FB_CS1 | G LCD5_1 | G FB_AD17 |
-| 136 | G GPIOG10 | G RG_ERXCK | G LCD6_1 | G FB_AD18 |
-| 137 | G GPIOG11 | G RG_ERXERR | G LCD7_1 | G FB_AD19 |
-| 138 | G GPIOG12 | G RG_ERXDV | G LCD8_1 | G FB_AD20 |
-| 139 | G GPIOG13 | G RG_EMDC | G LCD9_1 | G FB_AD21 |
-| 140 | G GPIOG14 | G RG_EMDIO | G LCD10_1 | G FB_AD22 |
-| 141 | G GPIOG15 | G RG_ETXEN | G LCD11_1 | G FB_AD23 |
-| 142 | G GPIOG16 | G RG_ETXCK | G LCD12_1 | G FB_AD24 |
-| 143 | G GPIOG17 | G RG_ECRS | G LCD13_1 | G FB_AD25 |
-| 144 | G GPIOG18 | G RG_ECOL | G LCD14_1 | G FB_AD26 |
-| 145 | G GPIOG19 | G RG_ETXERR | G LCD15_1 | G FB_AD27 |
-| 146 | G GPIOG20 | G ULPI3_CK | G LCD16_1 | G FB_AD28 |
-| 147 | G GPIOG21 | G ULPI3_DIR | G LCD17_1 | G FB_AD29 |
-| 148 | G GPIOG22 | G ULPI3_STP | G LCD18_1 | G FB_AD30 |
-| 149 | G GPIOG23 | G ULPI3_NXT | G LCD19_1 | G FB_AD31 |
-| 150 | G GPIOG24 | G ULPI3_D0 | G LCD20_1 | G SD2_CMD |
-| 151 | G GPIOG25 | G ULPI3_D1 | G LCD21_1 | G SD2_CLK |
-| 152 | G GPIOG26 | G ULPI3_D2 | G LCD22_1 | G SPI3_CK |
-| 153 | G GPIOG27 | G ULPI3_D3 | G LCD23_1 | G SPI3_NSS |
-| 154 | G GPIOG28 | G ULPI3_D4 | G SD2_D0 | G SPI3_IO0 |
-| 155 | G GPIOG29 | G ULPI3_D5 | G SD2_D1 | G SPI3_IO1 |
-| 156 | G GPIOG30 | G ULPI3_D6 | G SD2_D2 | G SPI3_IO2 |
-| 157 | G GPIOG31 | G ULPI3_D7 | G SD2_D3 | G SPI3_IO3 |
+| 38 | B GPIOB_B22 | B LCD0_D18 | B SD0_CMD | B FB_AD26 |
+| 39 | B GPIOB_B23 | B LCD0_D19 | B SD0_CLK | B FB_AD27 |
+| 40 | B GPIOB_B24 | B LCD0_D20 | B SD0_D0 | B FB_AD28 |
+| 41 | B GPIOB_B25 | B LCD0_D21 | B SD0_D1 | B FB_AD29 |
+| 42 | B GPIOB_B26 | B LCD0_D22 | B SD0_D2 | B FB_AD30 |
+| 43 | B GPIOB_B27 | B LCD0_D23 | B SD0_D3 | B FB_AD31 |
+| 68 | D GPIOD_D0 | D FB_AD0 | D UARTQ0_TX | D EINT_30 |
+| 69 | D GPIOD_D1 | D FB_AD1 | D UARTQ0_RX | D EINT_31 |
+| 70 | D GPIOD_D2 | D FB_AD2 | D UARTQ0_CTS | D TWI1_SDA |
+| 71 | D GPIOD_D3 | D FB_AD3 | D UARTQ0_RTS | D TWI1_SCL |
+| 72 | D GPIOD_D4 | D FB_AD4 | D SD1_CMD | |
+| 73 | D GPIOD_D5 | D FB_AD5 | D SD1_CLK | |
+| 74 | D GPIOD_D6 | D FB_AD6 | D SD1_D0 | |
+| 75 | D GPIOD_D7 | D FB_AD7 | D SD1_D1 | |
+| 76 | D GPIOD_D8 | D FB_CS0 | D SD1_D2 | D TWI1_SDA |
+| 77 | D GPIOD_D9 | D FB_CS1 | D SD1_D3 | D TWI1_SCL |
+| 78 | D GPIOD_D10 | D FB_ALE | D FB_TS | D TWI0_SDA |
+| 79 | D GPIOD_D11 | D FB_OE | D FB_TBST | D TWI0_SCL |
+| 80 | D GPIOD_D12 | D FB_RW | | |
+| 81 | D GPIOD_D13 | D FB_TA | D UART2_TX | D EINT_5 |
+| 82 | D GPIOD_D14 | D FB_CLK | D UART2_RX | D EINT_6 |
+| 83 | D GPIOD_D15 | D FB_BWE0 | D FB_TSIZ0 | D EINT_7 |
+| 84 | D GPIOD_D16 | D FB_BWE1 | D FB_TSIZ1 | D EINT_8 |
+| 85 | D GPIOD_D17 | D FB_BWE2 | D FB_CS2 | D FB_A0 |
+| 86 | D GPIOD_D18 | D FB_BWE3 | D FB_CS3 | D FB_A1 |
+| 100 | E GPIOE_E8 | E FB_AD16 | E SD2_CMD | E EINT_22 |
+| 101 | E GPIOE_E9 | E FB_AD17 | E SD2_CLK | E EINT_23 |
+| 102 | E GPIOE_E10 | E FB_AD18 | E SD2_D0 | E EINT_24 |
+| 103 | E GPIOE_E11 | E FB_AD19 | E SD2_D1 | E EINT_25 |
+| 104 | E GPIOE_E12 | E FB_AD20 | E SD2_D2 | E EINT_26 |
+| 105 | E GPIOE_E13 | E FB_AD21 | E SD2_D3 | E EINT_27 |
+| 106 | E GPIOE_E14 | E FB_AD22 | E UARTQ1_TX | E MMC_CMD |
+| 107 | E GPIOE_E15 | E FB_AD23 | E UARTQ1_RX | E MMC_CLK |
+| 108 | E GPIOE_E16 | E FB_AD24 | E UARTQ1_CTS | E MMC_D0 |
+| 109 | E GPIOE_E17 | E FB_AD25 | E UARTQ1_RTS | E MMC_D1 |
+| 110 | E GPIOE_E18 | E FB_AD26 | E QSPI_CK | E MMC_D2 |
+| 111 | E GPIOE_E19 | E FB_AD27 | E QSPI_NSS | E MMC_D3 |
+| 112 | E GPIOE_E20 | E FB_AD28 | E QSPI_IO0 | E MMC_D4 |
+| 113 | E GPIOE_E21 | E FB_AD29 | E QSPI_IO1 | E MMC_D5 |
+| 114 | E GPIOE_E22 | E FB_AD30 | E QSPI_IO2 | E MMC_D6 |
+| 115 | E GPIOE_E23 | E FB_AD31 | E QSPI_IO3 | E MMC_D7 |
+| 118 | F GPIOF_F2 | F IIS_LRCK | F SD2_D0 | F EINT_20 |
+| 119 | F GPIOF_F3 | F IIS_DI | F SD2_D1 | F EINT_21 |
+| 120 | F GPIOF_F4 | F IIS_DO | F SD2_D2 | F PWM_2 |
+| 121 | F GPIOF_F5 | | F SD2_D3 | F EINT_7 |
+| 122 | F GPIOF_F6 | | F TWI0_SDA | F EINT_28 |
+| 123 | F GPIOF_F7 | | F TWI0_SCL | F EINT_29 |
+| 124 | F GPIOF_F8 | F UART2_TX | F PWM_0 | F EINT_30 |
+| 125 | F GPIOF_F9 | F UART2_RX | F PWM_1 | F EINT_31 |
+| 126 | G GPIOG_G0 | G RG_ERXD0 | G LCD1_CK | G FB_AD8 |
+| 127 | G GPIOG_G1 | G RG_ERXD1 | G LCD1_DE | G FB_AD9 |
+| 128 | G GPIOG_G2 | G RG_ERXD2 | G LCD1_HS | G FB_AD10 |
+| 129 | G GPIOG_G3 | G RG_ERXD3 | G LCD1_VS | G FB_AD11 |
+| 130 | G GPIOG_G4 | G RG_ETXD0 | G LCD1_D0 | G FB_AD12 |
+| 131 | G GPIOG_G5 | G RG_ETXD1 | G LCD1_D1 | G FB_AD13 |
+| 132 | G GPIOG_G6 | G RG_ETXD2 | G LCD1_D2 | G FB_AD14 |
+| 133 | G GPIOG_G7 | G RG_ETXD3 | G LCD1_D3 | G FB_AD15 |
+| 134 | G GPIOG_G8 | G RG_ERXCK | G LCD1_D4 | G FB_AD16 |
+| 135 | G GPIOG_G9 | G RG_ERXERR | G LCD1_D5 | G FB_AD17 |
+| 136 | G GPIOG_G10 | G RG_ERXDV | G LCD1_D6 | G FB_AD18 |
+| 137 | G GPIOG_G11 | G RG_EMDC | G LCD1_D7 | G FB_AD19 |
+| 138 | G GPIOG_G12 | G RG_EMDIO | G LCD1_D8 | G FB_AD20 |
+| 139 | G GPIOG_G13 | G RG_ETXEN | G LCD1_D9 | G FB_AD21 |
+| 140 | G GPIOG_G14 | G RG_ETXCK | G LCD1_D10 | G FB_AD22 |
+| 141 | G GPIOG_G15 | G RG_ECRS | G LCD1_D11 | G FB_AD23 |
+| 142 | G GPIOG_G16 | G RG_ECOL | G LCD1_D12 | G FB_AD24 |
+| 143 | G GPIOG_G17 | G RG_ETXERR | G LCD1_D13 | G FB_AD25 |
+| 144 | G GPIOG_G18 | | G LCD1_D14 | G FB_AD26 |
+| 145 | G GPIOG_G19 | | G LCD1_D15 | G FB_AD27 |
+| 146 | G GPIOG_G20 | G ULPI2_CK | G LCD1_D16 | G FB_AD28 |
+| 147 | G GPIOG_G21 | G ULPI2_DIR | G LCD1_D17 | G FB_AD29 |
+| 148 | G GPIOG_G22 | G ULPI2_STP | G LCD1_D18 | G FB_AD30 |
+| 149 | G GPIOG_G23 | G ULPI2_NXT | G LCD1_D19 | G FB_AD31 |
+| 150 | G GPIOG_G24 | G ULPI2_D0 | G LCD1_D20 | G SD1_CMD |
+| 151 | G GPIOG_G25 | G ULPI2_D1 | G LCD1_D21 | G SD1_CLK |
+| 152 | G GPIOG_G26 | G ULPI2_D2 | G LCD1_D22 | G QSPI_CK |
+| 153 | G GPIOG_G27 | G ULPI2_D3 | G LCD1_D23 | G QSPI_NSS |
+| 154 | G GPIOG_G28 | G ULPI2_D4 | G SD1_D0 | G QSPI_IO0 |
+| 155 | G GPIOG_G29 | G ULPI2_D5 | G SD1_D1 | G QSPI_IO1 |
+| 156 | G GPIOG_G30 | G ULPI2_D6 | G SD1_D2 | G QSPI_IO2 |
+| 157 | G GPIOG_G31 | G ULPI2_D7 | G SD1_D3 | G QSPI_IO3 |
# Pinmap for Industrial
## B1:LCD/22
-* LCDCK_0 16 B0/1
-* LCDDE_0 17 B1/1
-* LCDHS_0 18 B2/1
-* LCDVS_0 19 B3/1
-* LCD0_0 20 B4/1
-* LCD1_0 21 B5/1
-* LCD2_0 22 B6/1
-* LCD3_0 23 B7/1
-* LCD4_0 24 B8/1
-* LCD5_0 25 B9/1
-* LCD6_0 26 B10/1
-* LCD7_0 27 B11/1
-* LCD8_0 28 B12/1
-* LCD9_0 29 B13/1
-* LCD10_0 30 B14/1
-* LCD11_0 31 B15/1
-* LCD12_0 32 B16/1
-* LCD13_0 33 B17/1
-* LCD14_0 34 B18/1
-* LCD15_0 35 B19/1
-* LCD16_0 36 B20/1
-* LCD17_0 37 B21/1
+* LCD0_CK 16 B0/1
+* LCD0_DE 17 B1/1
+* LCD0_HS 18 B2/1
+* LCD0_VS 19 B3/1
+* LCD0_D0 20 B4/1
+* LCD0_D1 21 B5/1
+* LCD0_D2 22 B6/1
+* LCD0_D3 23 B7/1
+* LCD0_D4 24 B8/1
+* LCD0_D5 25 B9/1
+* LCD0_D6 26 B10/1
+* LCD0_D7 27 B11/1
+* LCD0_D8 28 B12/1
+* LCD0_D9 29 B13/1
+* LCD0_D10 30 B14/1
+* LCD0_D11 31 B15/1
+* LCD0_D12 32 B16/1
+* LCD0_D13 33 B17/1
+* LCD0_D14 34 B18/1
+* LCD0_D15 35 B19/1
+* LCD0_D16 36 B20/1
+* LCD0_D17 37 B21/1
+
+## ULPI0/8
+
+* ULPI0_CK 44 C0/1
+* ULPI0_DIR 45 C1/1
+* ULPI0_STP 46 C2/1
+* ULPI0_NXT 47 C3/1
+* ULPI0_D0 48 C4/1
+* ULPI0_D1 49 C5/1
+* ULPI0_D2 50 C6/1
+* ULPI0_D3 51 C7/1
## ULPI1/8
-* ULPI1_CK 44 C0/1
-* ULPI1_DIR 45 C1/1
-* ULPI1_STP 46 C2/1
-* ULPI1_NXT 47 C3/1
-* ULPI1_D0 48 C4/1
-* ULPI1_D1 49 C5/1
-* ULPI1_D2 50 C6/1
-* ULPI1_D3 51 C7/1
-
-## ULPI2/8
-
-* ULPI2_CK 56 C12/1
-* ULPI2_DIR 57 C13/1
-* ULPI2_STP 58 C14/1
-* ULPI2_NXT 59 C15/1
-* ULPI2_D0 60 C16/1
-* ULPI2_D1 61 C17/1
-* ULPI2_D2 62 C18/1
-* ULPI2_D3 63 C19/1
+* ULPI1_CK 56 C12/1
+* ULPI1_DIR 57 C13/1
+* ULPI1_STP 58 C14/1
+* ULPI1_NXT 59 C15/1
+* ULPI1_D0 60 C16/1
+* ULPI1_D1 61 C17/1
+* ULPI1_D2 62 C18/1
+* ULPI1_D3 63 C19/1
## MMC
-* MMCCMD 0 A0/1
-* MMCCLK 1 A1/1
-* MMCD0 2 A2/1
-* MMCD1 3 A3/1
-* MMCD2 4 A4/1
-* MMCD3 5 A5/1
-* MMCD4 6 A6/1
-* MMCD5 7 A7/1
-* MMCD6 8 A8/1
-* MMCD7 9 A9/1
-
-## B2:SD1
-
-* SD1_CMD 38 B22/2
-* SD1_CLK 39 B23/2
-* SD1_D0 40 B24/2
-* SD1_D1 41 B25/2
-* SD1_D2 42 B26/2
-* SD1_D3 43 B27/2
+* MMC_CMD 0 A0/1
+* MMC_CLK 1 A1/1
+* MMC_D0 2 A2/1
+* MMC_D1 3 A3/1
+* MMC_D2 4 A4/1
+* MMC_D3 5 A5/1
+* MMC_D4 6 A6/1
+* MMC_D5 7 A7/1
+* MMC_D6 8 A8/1
+* MMC_D7 9 A9/1
-## JTAG1
+## B2:SD0
-* JTAG1_MS 10 A10/3
-* JTAG1_DI 11 A11/3
-* JTAG1_DO 12 A12/3
-* JTAG1_CK 13 A13/3
+* SD0_CMD 38 B22/2
+* SD0_CLK 39 B23/2
+* SD0_D0 40 B24/2
+* SD0_D1 41 B25/2
+* SD0_D2 42 B26/2
+* SD0_D3 43 B27/2
-## A3:UART2
+## JTAG0
-* UART2_TX 14 A14/3
-* UART2_RX 15 A15/3
+* JTAG0_MS 10 A10/3
+* JTAG0_DI 11 A11/3
+* JTAG0_DO 12 A12/3
+* JTAG0_CK 13 A13/3
-## E2:UART1
+## A3:UART0
-* UART1_TX 106 E14/2
-* UART1_RX 107 E15/2
-* UART1_CTS 108 E16/2
-* UART1_RTS 109 E17/2
+* UART0_TX 14 A14/3
+* UART0_RX 15 A15/3
-## C3:UART0
+## E2:UARTQ1
-* UART0_TX 64 C20/3
-* UART0_RX 65 C21/3
-* UART0_CTS 66 C22/3
-* UART0_RTS 67 C23/3
+* UARTQ1_TX 106 E14/2
+* UARTQ1_RX 107 E15/2
+* UARTQ1_CTS 108 E16/2
+* UARTQ1_RTS 109 E17/2
-## F2:TWI1
+## C3:UARTQ0
-* TWI1_SDA 122 F6/2
-* TWI1_SCL 123 F7/2
+* UARTQ0_TX 64 C20/3
+* UARTQ0_RX 65 C21/3
+* UARTQ0_CTS 66 C22/3
+* UARTQ0_RTS 67 C23/3
-## D2:TWI2
+## F2:TWI0
-* TWI2_SDA 85 D17/2
-* TWI2_SCL 86 D18/2
+* TWI0_SDA 122 F6/2
+* TWI0_SCL 123 F7/2
-## D2:TWI3
+## D2:TWI1
-* TWI3_SDA 87 D19/2
-* TWI3_SCL 88 D20/2
-## SPI2
+## D2:TWI2
+
+* TWI2_SDA 87 D19/2
+* TWI2_SCL 88 D20/2
+
+## SPI1
-* SPI2_CLK 52 C8/2
-* SPI2_NSS 53 C9/2
-* SPI2_MOSI 54 C10/2
-* SPI2_MISO 55 C11/2
+* SPI1_CLK 52 C8/2
+* SPI1_NSS 53 C9/2
+* SPI1_MOSI 54 C10/2
+* SPI1_MISO 55 C11/2
-## SPI3
+## QSPI
-* SPI3_CK 110 E18/2
-* SPI3_NSS 111 E19/2
-* SPI3_IO0 112 E20/2
-* SPI3_IO1 113 E21/2
-* SPI3_IO2 114 E22/2
-* SPI3_IO3 115 E23/2
+* QSPI_CK 110 E18/2
+* QSPI_NSS 111 E19/2
+* QSPI_IO0 112 E20/2
+* QSPI_IO1 113 E21/2
+* QSPI_IO2 114 E22/2
+* QSPI_IO3 115 E23/2
-## F2:SD3
+## F2:SD2
-* SD3_CMD 116 F0/2
-* SD3_CLK 117 F1/2
-* SD3_D0 118 F2/2
-* SD3_D1 119 F3/2
-* SD3_D2 120 F4/2
-* SD3_D3 121 F5/2
+* SD2_CMD 116 F0/2
+* SD2_CLK 117 F1/2
+* SD2_D0 118 F2/2
+* SD2_D1 119 F3/2
+* SD2_D2 120 F4/2
+* SD2_D3 121 F5/2
## EINT
-* EINT24 102 E10/3
-* EINT25 103 E11/3
-* EINT26 104 E12/3
-* EINT27 105 E13/3
-* EINT20 89 D21/3
-* EINT21 90 D22/3
-* EINT22 100 E8/3
-* EINT23 101 E9/3
+* EINT_24 102 E10/3
+* EINT_25 103 E11/3
+* EINT_26 104 E12/3
+* EINT_27 105 E13/3
+* EINT_20 89 D21/3
+* EINT_21 90 D22/3
+* EINT_22 100 E8/3
+* EINT_23 101 E9/3
## PWM
| Pin | Mux0 | Mux1 | Mux2 | Mux3 |
| --- | ----------- | ----------- | ----------- | ----------- |
-| 126 | G GPIOG0 | G RG_ERXD0 | G LCDCK_1 | G FB_AD8 |
-| 127 | G GPIOG1 | G RG_ERXD1 | G LCDDE_1 | G FB_AD9 |
-| 128 | G GPIOG2 | G RG_ERXD2 | G LCDHS_1 | G FB_AD10 |
-| 129 | G GPIOG3 | G RG_ERXD3 | G LCDVS_1 | G FB_AD11 |
-| 130 | G GPIOG4 | G RG_ETXD0 | G LCD0_1 | G FB_AD12 |
-| 131 | G GPIOG5 | G RG_ETXD1 | G LCD1_1 | G FB_AD13 |
-| 132 | G GPIOG6 | G RG_ETXD2 | G LCD2_1 | G FB_AD14 |
-| 133 | G GPIOG7 | G RG_ETXD3 | G LCD3_1 | G FB_AD15 |
-| 134 | G GPIOG8 | G RG_FB_CS0 | G LCD4_1 | G FB_AD16 |
-| 135 | G GPIOG9 | G RG_FB_CS1 | G LCD5_1 | G FB_AD17 |
-| 136 | G GPIOG10 | G RG_ERXCK | G LCD6_1 | G FB_AD18 |
-| 137 | G GPIOG11 | G RG_ERXERR | G LCD7_1 | G FB_AD19 |
-| 138 | G GPIOG12 | G RG_ERXDV | G LCD8_1 | G FB_AD20 |
-| 139 | G GPIOG13 | G RG_EMDC | G LCD9_1 | G FB_AD21 |
-| 140 | G GPIOG14 | G RG_EMDIO | G LCD10_1 | G FB_AD22 |
-| 141 | G GPIOG15 | G RG_ETXEN | G LCD11_1 | G FB_AD23 |
-| 142 | G GPIOG16 | G RG_ETXCK | G LCD12_1 | G FB_AD24 |
-| 143 | G GPIOG17 | G RG_ECRS | G LCD13_1 | G FB_AD25 |
-| 144 | G GPIOG18 | G RG_ECOL | G LCD14_1 | G FB_AD26 |
-| 145 | G GPIOG19 | G RG_ETXERR | G LCD15_1 | G FB_AD27 |
-| 146 | G GPIOG20 | G ULPI3_CK | G LCD16_1 | G FB_AD28 |
-| 147 | G GPIOG21 | G ULPI3_DIR | G LCD17_1 | G FB_AD29 |
-| 148 | G GPIOG22 | G ULPI3_STP | G LCD18_1 | G FB_AD30 |
-| 149 | G GPIOG23 | G ULPI3_NXT | G LCD19_1 | G FB_AD31 |
-| 150 | G GPIOG24 | G ULPI3_D0 | G LCD20_1 | G SD2_CMD |
-| 151 | G GPIOG25 | G ULPI3_D1 | G LCD21_1 | G SD2_CLK |
-| 152 | G GPIOG26 | G ULPI3_D2 | G LCD22_1 | G SPI3_CK |
-| 153 | G GPIOG27 | G ULPI3_D3 | G LCD23_1 | G SPI3_NSS |
-| 154 | G GPIOG28 | G ULPI3_D4 | G SD2_D0 | G SPI3_IO0 |
-| 155 | G GPIOG29 | G ULPI3_D5 | G SD2_D1 | G SPI3_IO1 |
-| 156 | G GPIOG30 | G ULPI3_D6 | G SD2_D2 | G SPI3_IO2 |
-| 157 | G GPIOG31 | G ULPI3_D7 | G SD2_D3 | G SPI3_IO3 |
+| 85 | D GPIOD_D17 | D FB_BWE2 | D FB_CS2 | D FB_A0 |
+| 86 | D GPIOD_D18 | D FB_BWE3 | D FB_CS3 | D FB_A1 |
+| 126 | G GPIOG_G0 | G RG_ERXD0 | G LCD1_CK | G FB_AD8 |
+| 127 | G GPIOG_G1 | G RG_ERXD1 | G LCD1_DE | G FB_AD9 |
+| 128 | G GPIOG_G2 | G RG_ERXD2 | G LCD1_HS | G FB_AD10 |
+| 129 | G GPIOG_G3 | G RG_ERXD3 | G LCD1_VS | G FB_AD11 |
+| 130 | G GPIOG_G4 | G RG_ETXD0 | G LCD1_D0 | G FB_AD12 |
+| 131 | G GPIOG_G5 | G RG_ETXD1 | G LCD1_D1 | G FB_AD13 |
+| 132 | G GPIOG_G6 | G RG_ETXD2 | G LCD1_D2 | G FB_AD14 |
+| 133 | G GPIOG_G7 | G RG_ETXD3 | G LCD1_D3 | G FB_AD15 |
+| 134 | G GPIOG_G8 | G RG_ERXCK | G LCD1_D4 | G FB_AD16 |
+| 135 | G GPIOG_G9 | G RG_ERXERR | G LCD1_D5 | G FB_AD17 |
+| 136 | G GPIOG_G10 | G RG_ERXDV | G LCD1_D6 | G FB_AD18 |
+| 137 | G GPIOG_G11 | G RG_EMDC | G LCD1_D7 | G FB_AD19 |
+| 138 | G GPIOG_G12 | G RG_EMDIO | G LCD1_D8 | G FB_AD20 |
+| 139 | G GPIOG_G13 | G RG_ETXEN | G LCD1_D9 | G FB_AD21 |
+| 140 | G GPIOG_G14 | G RG_ETXCK | G LCD1_D10 | G FB_AD22 |
+| 141 | G GPIOG_G15 | G RG_ECRS | G LCD1_D11 | G FB_AD23 |
+| 142 | G GPIOG_G16 | G RG_ECOL | G LCD1_D12 | G FB_AD24 |
+| 143 | G GPIOG_G17 | G RG_ETXERR | G LCD1_D13 | G FB_AD25 |
+| 144 | G GPIOG_G18 | | G LCD1_D14 | G FB_AD26 |
+| 145 | G GPIOG_G19 | | G LCD1_D15 | G FB_AD27 |
+| 146 | G GPIOG_G20 | G ULPI2_CK | G LCD1_D16 | G FB_AD28 |
+| 147 | G GPIOG_G21 | G ULPI2_DIR | G LCD1_D17 | G FB_AD29 |
+| 148 | G GPIOG_G22 | G ULPI2_STP | G LCD1_D18 | G FB_AD30 |
+| 149 | G GPIOG_G23 | G ULPI2_NXT | G LCD1_D19 | G FB_AD31 |
+| 150 | G GPIOG_G24 | G ULPI2_D0 | G LCD1_D20 | G SD1_CMD |
+| 151 | G GPIOG_G25 | G ULPI2_D1 | G LCD1_D21 | G SD1_CLK |
+| 152 | G GPIOG_G26 | G ULPI2_D2 | G LCD1_D22 | G QSPI_CK |
+| 153 | G GPIOG_G27 | G ULPI2_D3 | G LCD1_D23 | G QSPI_NSS |
+| 154 | G GPIOG_G28 | G ULPI2_D4 | G SD1_D0 | G QSPI_IO0 |
+| 155 | G GPIOG_G29 | G ULPI2_D5 | G SD1_D1 | G QSPI_IO1 |
+| 156 | G GPIOG_G30 | G ULPI2_D6 | G SD1_D2 | G QSPI_IO2 |
+| 157 | G GPIOG_G31 | G ULPI2_D7 | G SD1_D3 | G QSPI_IO3 |
# Pinmap for Industrial with SPI-LCD
* FB_AD14 98 E6/1
* FB_AD15 99 E7/1
-## B2:SPI1
+## B2:SPI0
Used for 320x240 or 640x480 etc. SPI-based LCD.
Frees up large numbers of GPIO from RGB/TTL bank
-* SPI1_CLK 28 B12/2
-* SPI1_NSS 29 B13/2
-* SPI1_MOSI 30 B14/2
-* SPI1_MISO 31 B15/2
+* SPI0_CLK 28 B12/2
+* SPI0_NSS 29 B13/2
+* SPI0_MOSI 30 B14/2
+* SPI0_MISO 31 B15/2
+
+## ULPI0/8
+
+* ULPI0_CK 44 C0/1
+* ULPI0_DIR 45 C1/1
+* ULPI0_STP 46 C2/1
+* ULPI0_NXT 47 C3/1
+* ULPI0_D0 48 C4/1
+* ULPI0_D1 49 C5/1
+* ULPI0_D2 50 C6/1
+* ULPI0_D3 51 C7/1
## ULPI1/8
-* ULPI1_CK 44 C0/1
-* ULPI1_DIR 45 C1/1
-* ULPI1_STP 46 C2/1
-* ULPI1_NXT 47 C3/1
-* ULPI1_D0 48 C4/1
-* ULPI1_D1 49 C5/1
-* ULPI1_D2 50 C6/1
-* ULPI1_D3 51 C7/1
-
-## ULPI2/8
-
-* ULPI2_CK 56 C12/1
-* ULPI2_DIR 57 C13/1
-* ULPI2_STP 58 C14/1
-* ULPI2_NXT 59 C15/1
-* ULPI2_D0 60 C16/1
-* ULPI2_D1 61 C17/1
-* ULPI2_D2 62 C18/1
-* ULPI2_D3 63 C19/1
+* ULPI1_CK 56 C12/1
+* ULPI1_DIR 57 C13/1
+* ULPI1_STP 58 C14/1
+* ULPI1_NXT 59 C15/1
+* ULPI1_D0 60 C16/1
+* ULPI1_D1 61 C17/1
+* ULPI1_D2 62 C18/1
+* ULPI1_D3 63 C19/1
## MMC
-* MMCCMD 0 A0/1
-* MMCCLK 1 A1/1
-* MMCD0 2 A2/1
-* MMCD1 3 A3/1
-* MMCD2 4 A4/1
-* MMCD3 5 A5/1
-* MMCD4 6 A6/1
-* MMCD5 7 A7/1
-* MMCD6 8 A8/1
-* MMCD7 9 A9/1
-
-## B2:SD1
-
-* SD1_CMD 38 B22/2
-* SD1_CLK 39 B23/2
-* SD1_D0 40 B24/2
-* SD1_D1 41 B25/2
-* SD1_D2 42 B26/2
-* SD1_D3 43 B27/2
+* MMC_CMD 0 A0/1
+* MMC_CLK 1 A1/1
+* MMC_D0 2 A2/1
+* MMC_D1 3 A3/1
+* MMC_D2 4 A4/1
+* MMC_D3 5 A5/1
+* MMC_D4 6 A6/1
+* MMC_D5 7 A7/1
+* MMC_D6 8 A8/1
+* MMC_D7 9 A9/1
-## JTAG1
+## B2:SD0
-* JTAG1_MS 10 A10/3
-* JTAG1_DI 11 A11/3
-* JTAG1_DO 12 A12/3
-* JTAG1_CK 13 A13/3
+* SD0_CMD 38 B22/2
+* SD0_CLK 39 B23/2
+* SD0_D0 40 B24/2
+* SD0_D1 41 B25/2
+* SD0_D2 42 B26/2
+* SD0_D3 43 B27/2
-## A3:UART2
+## JTAG0
-* UART2_TX 14 A14/3
-* UART2_RX 15 A15/3
+* JTAG0_MS 10 A10/3
+* JTAG0_DI 11 A11/3
+* JTAG0_DO 12 A12/3
+* JTAG0_CK 13 A13/3
-## E2:UART1
+## A3:UART0
-* UART1_TX 106 E14/2
-* UART1_RX 107 E15/2
-* UART1_CTS 108 E16/2
-* UART1_RTS 109 E17/2
+* UART0_TX 14 A14/3
+* UART0_RX 15 A15/3
-## C3:UART0
+## E2:UARTQ1
-* UART0_TX 64 C20/3
-* UART0_RX 65 C21/3
-* UART0_CTS 66 C22/3
-* UART0_RTS 67 C23/3
+* UARTQ1_TX 106 E14/2
+* UARTQ1_RX 107 E15/2
+* UARTQ1_CTS 108 E16/2
+* UARTQ1_RTS 109 E17/2
-## B2:UART4
+## C3:UARTQ0
-* UART4_TX 26 B10/2
-* UART4_RX 27 B11/2
+* UARTQ0_TX 64 C20/3
+* UARTQ0_RX 65 C21/3
+* UARTQ0_CTS 66 C22/3
+* UARTQ0_RTS 67 C23/3
-## B2:UART3
+## B2:UART2
-* UART3_TX 32 B16/2
-* UART3_RX 33 B17/2
+* UART2_TX 26 B10/2
+* UART2_RX 27 B11/2
-## F2:TWI1
+## B2:UART1
-* TWI1_SDA 122 F6/2
-* TWI1_SCL 123 F7/2
+* UART1_TX 32 B16/2
+* UART1_RX 33 B17/2
-## D2:TWI2
+## F2:TWI0
+
+* TWI0_SDA 122 F6/2
+* TWI0_SCL 123 F7/2
-* TWI2_SDA 85 D17/2
-* TWI2_SCL 86 D18/2
+## D2:TWI1
-## D2:TWI3
-* TWI3_SDA 87 D19/2
-* TWI3_SCL 88 D20/2
+## D2:TWI2
-## SPI2
+* TWI2_SDA 87 D19/2
+* TWI2_SCL 88 D20/2
-* SPI2_CLK 52 C8/2
-* SPI2_NSS 53 C9/2
-* SPI2_MOSI 54 C10/2
-* SPI2_MISO 55 C11/2
+## SPI1
-## SPI3
+* SPI1_CLK 52 C8/2
+* SPI1_NSS 53 C9/2
+* SPI1_MOSI 54 C10/2
+* SPI1_MISO 55 C11/2
-* SPI3_CK 20 B4/2
-* SPI3_NSS 21 B5/2
-* SPI3_IO0 22 B6/2
-* SPI3_IO1 23 B7/2
-* SPI3_IO2 114 E22/2
-* SPI3_IO3 115 E23/2
+## QSPI
-## F2:SD3
+* QSPI_CK 20 B4/2
+* QSPI_NSS 21 B5/2
+* QSPI_IO0 22 B6/2
+* QSPI_IO1 23 B7/2
+* QSPI_IO2 114 E22/2
+* QSPI_IO3 115 E23/2
-* SD3_CMD 116 F0/2
-* SD3_CLK 117 F1/2
-* SD3_D0 118 F2/2
-* SD3_D1 119 F3/2
-* SD3_D2 120 F4/2
-* SD3_D3 121 F5/2
+## F2:SD2
+
+* SD2_CMD 116 F0/2
+* SD2_CLK 117 F1/2
+* SD2_D0 118 F2/2
+* SD2_D1 119 F3/2
+* SD2_D2 120 F4/2
+* SD2_D3 121 F5/2
## EINT
-* EINT24 102 E10/3
-* EINT25 103 E11/3
-* EINT26 104 E12/3
-* EINT27 105 E13/3
-* EINT20 89 D21/3
-* EINT21 90 D22/3
-* EINT22 100 E8/3
-* EINT23 101 E9/3
+* EINT_24 102 E10/3
+* EINT_25 103 E11/3
+* EINT_26 104 E12/3
+* EINT_27 105 E13/3
+* EINT_20 89 D21/3
+* EINT_21 90 D22/3
+* EINT_22 100 E8/3
+* EINT_23 101 E9/3
## PWM
| Pin | Mux0 | Mux1 | Mux2 | Mux3 |
| --- | ----------- | ----------- | ----------- | ----------- |
-| 16 | B GPIOB0 | B LCDCK_0 | B TWI1_SDA | B EINT6 |
-| 17 | B GPIOB1 | B LCDDE_0 | B TWI1_SCL | B EINT7 |
-| 18 | B GPIOB2 | B LCDHS_0 | B UART2_TX | B EINT8 |
-| 19 | B GPIOB3 | B LCDVS_0 | B UART2_RX | B EINT9 |
-| 24 | B GPIOB8 | B LCD4_0 | | B FB_AD12 |
-| 25 | B GPIOB9 | B LCD5_0 | B PWM_0 | B FB_AD13 |
-| 34 | B GPIOB18 | B LCD14_0 | B TWI3_SDA | B FB_AD22 |
-| 35 | B GPIOB19 | B LCD15_0 | B TWI3_SCL | B FB_AD23 |
-| 36 | B GPIOB20 | B LCD16_0 | B PWM_1 | B FB_AD24 |
-| 37 | B GPIOB21 | B LCD17_0 | B PWM_2 | B FB_AD25 |
-| 110 | E GPIOE18 | E FB_AD26 | E SPI3_CK | E MMCD2 |
-| 111 | E GPIOE19 | E FB_AD27 | E SPI3_NSS | E MMCD3 |
-| 112 | E GPIOE20 | E FB_AD28 | E SPI3_IO0 | E MMCD4 |
-| 113 | E GPIOE21 | E FB_AD29 | E SPI3_IO1 | E MMCD5 |
-| 126 | G GPIOG0 | G RG_ERXD0 | G LCDCK_1 | G FB_AD8 |
-| 127 | G GPIOG1 | G RG_ERXD1 | G LCDDE_1 | G FB_AD9 |
-| 128 | G GPIOG2 | G RG_ERXD2 | G LCDHS_1 | G FB_AD10 |
-| 129 | G GPIOG3 | G RG_ERXD3 | G LCDVS_1 | G FB_AD11 |
-| 130 | G GPIOG4 | G RG_ETXD0 | G LCD0_1 | G FB_AD12 |
-| 131 | G GPIOG5 | G RG_ETXD1 | G LCD1_1 | G FB_AD13 |
-| 132 | G GPIOG6 | G RG_ETXD2 | G LCD2_1 | G FB_AD14 |
-| 133 | G GPIOG7 | G RG_ETXD3 | G LCD3_1 | G FB_AD15 |
-| 134 | G GPIOG8 | G RG_FB_CS0 | G LCD4_1 | G FB_AD16 |
-| 135 | G GPIOG9 | G RG_FB_CS1 | G LCD5_1 | G FB_AD17 |
-| 136 | G GPIOG10 | G RG_ERXCK | G LCD6_1 | G FB_AD18 |
-| 137 | G GPIOG11 | G RG_ERXERR | G LCD7_1 | G FB_AD19 |
-| 138 | G GPIOG12 | G RG_ERXDV | G LCD8_1 | G FB_AD20 |
-| 139 | G GPIOG13 | G RG_EMDC | G LCD9_1 | G FB_AD21 |
-| 140 | G GPIOG14 | G RG_EMDIO | G LCD10_1 | G FB_AD22 |
-| 141 | G GPIOG15 | G RG_ETXEN | G LCD11_1 | G FB_AD23 |
-| 142 | G GPIOG16 | G RG_ETXCK | G LCD12_1 | G FB_AD24 |
-| 143 | G GPIOG17 | G RG_ECRS | G LCD13_1 | G FB_AD25 |
-| 144 | G GPIOG18 | G RG_ECOL | G LCD14_1 | G FB_AD26 |
-| 145 | G GPIOG19 | G RG_ETXERR | G LCD15_1 | G FB_AD27 |
-| 146 | G GPIOG20 | G ULPI3_CK | G LCD16_1 | G FB_AD28 |
-| 147 | G GPIOG21 | G ULPI3_DIR | G LCD17_1 | G FB_AD29 |
-| 148 | G GPIOG22 | G ULPI3_STP | G LCD18_1 | G FB_AD30 |
-| 149 | G GPIOG23 | G ULPI3_NXT | G LCD19_1 | G FB_AD31 |
-| 150 | G GPIOG24 | G ULPI3_D0 | G LCD20_1 | G SD2_CMD |
-| 151 | G GPIOG25 | G ULPI3_D1 | G LCD21_1 | G SD2_CLK |
-| 152 | G GPIOG26 | G ULPI3_D2 | G LCD22_1 | G SPI3_CK |
-| 153 | G GPIOG27 | G ULPI3_D3 | G LCD23_1 | G SPI3_NSS |
-| 154 | G GPIOG28 | G ULPI3_D4 | G SD2_D0 | G SPI3_IO0 |
-| 155 | G GPIOG29 | G ULPI3_D5 | G SD2_D1 | G SPI3_IO1 |
-| 156 | G GPIOG30 | G ULPI3_D6 | G SD2_D2 | G SPI3_IO2 |
-| 157 | G GPIOG31 | G ULPI3_D7 | G SD2_D3 | G SPI3_IO3 |
+| 16 | B GPIOB_B0 | B LCD0_CK | B TWI0_SDA | B EINT_6 |
+| 17 | B GPIOB_B1 | B LCD0_DE | B TWI0_SCL | B EINT_7 |
+| 18 | B GPIOB_B2 | B LCD0_HS | B UART0_TX | B EINT_8 |
+| 19 | B GPIOB_B3 | B LCD0_VS | B UART0_RX | B EINT_9 |
+| 24 | B GPIOB_B8 | B LCD0_D4 | | B FB_AD12 |
+| 25 | B GPIOB_B9 | B LCD0_D5 | B PWM_0 | B FB_AD13 |
+| 34 | B GPIOB_B18 | B LCD0_D14 | B TWI2_SDA | B FB_AD22 |
+| 35 | B GPIOB_B19 | B LCD0_D15 | B TWI2_SCL | B FB_AD23 |
+| 36 | B GPIOB_B20 | B LCD0_D16 | B PWM_1 | B FB_AD24 |
+| 37 | B GPIOB_B21 | B LCD0_D17 | B PWM_2 | B FB_AD25 |
+| 85 | D GPIOD_D17 | D FB_BWE2 | D FB_CS2 | D FB_A0 |
+| 86 | D GPIOD_D18 | D FB_BWE3 | D FB_CS3 | D FB_A1 |
+| 110 | E GPIOE_E18 | E FB_AD26 | E QSPI_CK | E MMC_D2 |
+| 111 | E GPIOE_E19 | E FB_AD27 | E QSPI_NSS | E MMC_D3 |
+| 112 | E GPIOE_E20 | E FB_AD28 | E QSPI_IO0 | E MMC_D4 |
+| 113 | E GPIOE_E21 | E FB_AD29 | E QSPI_IO1 | E MMC_D5 |
+| 126 | G GPIOG_G0 | G RG_ERXD0 | G LCD1_CK | G FB_AD8 |
+| 127 | G GPIOG_G1 | G RG_ERXD1 | G LCD1_DE | G FB_AD9 |
+| 128 | G GPIOG_G2 | G RG_ERXD2 | G LCD1_HS | G FB_AD10 |
+| 129 | G GPIOG_G3 | G RG_ERXD3 | G LCD1_VS | G FB_AD11 |
+| 130 | G GPIOG_G4 | G RG_ETXD0 | G LCD1_D0 | G FB_AD12 |
+| 131 | G GPIOG_G5 | G RG_ETXD1 | G LCD1_D1 | G FB_AD13 |
+| 132 | G GPIOG_G6 | G RG_ETXD2 | G LCD1_D2 | G FB_AD14 |
+| 133 | G GPIOG_G7 | G RG_ETXD3 | G LCD1_D3 | G FB_AD15 |
+| 134 | G GPIOG_G8 | G RG_ERXCK | G LCD1_D4 | G FB_AD16 |
+| 135 | G GPIOG_G9 | G RG_ERXERR | G LCD1_D5 | G FB_AD17 |
+| 136 | G GPIOG_G10 | G RG_ERXDV | G LCD1_D6 | G FB_AD18 |
+| 137 | G GPIOG_G11 | G RG_EMDC | G LCD1_D7 | G FB_AD19 |
+| 138 | G GPIOG_G12 | G RG_EMDIO | G LCD1_D8 | G FB_AD20 |
+| 139 | G GPIOG_G13 | G RG_ETXEN | G LCD1_D9 | G FB_AD21 |
+| 140 | G GPIOG_G14 | G RG_ETXCK | G LCD1_D10 | G FB_AD22 |
+| 141 | G GPIOG_G15 | G RG_ECRS | G LCD1_D11 | G FB_AD23 |
+| 142 | G GPIOG_G16 | G RG_ECOL | G LCD1_D12 | G FB_AD24 |
+| 143 | G GPIOG_G17 | G RG_ETXERR | G LCD1_D13 | G FB_AD25 |
+| 144 | G GPIOG_G18 | | G LCD1_D14 | G FB_AD26 |
+| 145 | G GPIOG_G19 | | G LCD1_D15 | G FB_AD27 |
+| 146 | G GPIOG_G20 | G ULPI2_CK | G LCD1_D16 | G FB_AD28 |
+| 147 | G GPIOG_G21 | G ULPI2_DIR | G LCD1_D17 | G FB_AD29 |
+| 148 | G GPIOG_G22 | G ULPI2_STP | G LCD1_D18 | G FB_AD30 |
+| 149 | G GPIOG_G23 | G ULPI2_NXT | G LCD1_D19 | G FB_AD31 |
+| 150 | G GPIOG_G24 | G ULPI2_D0 | G LCD1_D20 | G SD1_CMD |
+| 151 | G GPIOG_G25 | G ULPI2_D1 | G LCD1_D21 | G SD1_CLK |
+| 152 | G GPIOG_G26 | G ULPI2_D2 | G LCD1_D22 | G QSPI_CK |
+| 153 | G GPIOG_G27 | G ULPI2_D3 | G LCD1_D23 | G QSPI_NSS |
+| 154 | G GPIOG_G28 | G ULPI2_D4 | G SD1_D0 | G QSPI_IO0 |
+| 155 | G GPIOG_G29 | G ULPI2_D5 | G SD1_D1 | G QSPI_IO1 |
+| 156 | G GPIOG_G30 | G ULPI2_D6 | G SD1_D2 | G QSPI_IO2 |
+| 157 | G GPIOG_G31 | G ULPI2_D7 | G SD1_D3 | G QSPI_IO3 |
# Pinmap for Smartphone / Tablet
RGB/TTL LCD, 800x480 or use SN75LVDS83b for up to 1440x900
-* LCDCK_0 16 B0/1
-* LCDDE_0 17 B1/1
-* LCDHS_0 18 B2/1
-* LCDVS_0 19 B3/1
-* LCD0_0 20 B4/1
-* LCD1_0 21 B5/1
-* LCD2_0 22 B6/1
-* LCD3_0 23 B7/1
-* LCD4_0 24 B8/1
-* LCD5_0 25 B9/1
-* LCD6_0 26 B10/1
-* LCD7_0 27 B11/1
-* LCD8_0 28 B12/1
-* LCD9_0 29 B13/1
-* LCD10_0 30 B14/1
-* LCD11_0 31 B15/1
-* LCD12_0 32 B16/1
-* LCD13_0 33 B17/1
-* LCD14_0 34 B18/1
-* LCD15_0 35 B19/1
-* LCD16_0 36 B20/1
-* LCD17_0 37 B21/1
-
-## ULPI1/8
+* LCD0_CK 16 B0/1
+* LCD0_DE 17 B1/1
+* LCD0_HS 18 B2/1
+* LCD0_VS 19 B3/1
+* LCD0_D0 20 B4/1
+* LCD0_D1 21 B5/1
+* LCD0_D2 22 B6/1
+* LCD0_D3 23 B7/1
+* LCD0_D4 24 B8/1
+* LCD0_D5 25 B9/1
+* LCD0_D6 26 B10/1
+* LCD0_D7 27 B11/1
+* LCD0_D8 28 B12/1
+* LCD0_D9 29 B13/1
+* LCD0_D10 30 B14/1
+* LCD0_D11 31 B15/1
+* LCD0_D12 32 B16/1
+* LCD0_D13 33 B17/1
+* LCD0_D14 34 B18/1
+* LCD0_D15 35 B19/1
+* LCD0_D16 36 B20/1
+* LCD0_D17 37 B21/1
+
+## ULPI0/8
USB-OTG, connect to ULPI OTG PHY (for charging)
as well as USB Host or USB Device
-* ULPI1_CK 44 C0/1
-* ULPI1_DIR 45 C1/1
-* ULPI1_STP 46 C2/1
-* ULPI1_NXT 47 C3/1
-* ULPI1_D0 48 C4/1
-* ULPI1_D1 49 C5/1
-* ULPI1_D2 50 C6/1
-* ULPI1_D3 51 C7/1
+* ULPI0_CK 44 C0/1
+* ULPI0_DIR 45 C1/1
+* ULPI0_STP 46 C2/1
+* ULPI0_NXT 47 C3/1
+* ULPI0_D0 48 C4/1
+* ULPI0_D1 49 C5/1
+* ULPI0_D2 50 C6/1
+* ULPI0_D3 51 C7/1
-## ULPI2/8
+## ULPI1/8
USB2 Host, connect to ULPI PHY w/and 4-port USB2 Hub
for example GL850G or FE1.1. Connects to 2/3/4G/LTE Modem, 2x USB-Camera (VC0345)
-* ULPI2_CK 56 C12/1
-* ULPI2_DIR 57 C13/1
-* ULPI2_STP 58 C14/1
-* ULPI2_NXT 59 C15/1
-* ULPI2_D0 60 C16/1
-* ULPI2_D1 61 C17/1
-* ULPI2_D2 62 C18/1
-* ULPI2_D3 63 C19/1
+* ULPI1_CK 56 C12/1
+* ULPI1_DIR 57 C13/1
+* ULPI1_STP 58 C14/1
+* ULPI1_NXT 59 C15/1
+* ULPI1_D0 60 C16/1
+* ULPI1_D1 61 C17/1
+* ULPI1_D2 62 C18/1
+* ULPI1_D3 63 C19/1
## MMC
eMMC: main internal storage
-* MMCCMD 0 A0/1
-* MMCCLK 1 A1/1
-* MMCD0 2 A2/1
-* MMCD1 3 A3/1
-* MMCD2 4 A4/1
-* MMCD3 5 A5/1
-* MMCD4 6 A6/1
-* MMCD5 7 A7/1
-* MMCD6 8 A8/1
-* MMCD7 9 A9/1
-
-## SD1
-
-internal, multiplexed with JTAG1
-and UART2, for debug purposes
-
-* SD1_CMD 10 A10/2
-* SD1_CLK 11 A11/2
-* SD1_D0 12 A12/2
-* SD1_D1 13 A13/2
-* SD1_D2 14 A14/2
-* SD1_D3 15 A15/2
+* MMC_CMD 0 A0/1
+* MMC_CLK 1 A1/1
+* MMC_D0 2 A2/1
+* MMC_D1 3 A3/1
+* MMC_D2 4 A4/1
+* MMC_D3 5 A5/1
+* MMC_D4 6 A6/1
+* MMC_D5 7 A7/1
+* MMC_D6 8 A8/1
+* MMC_D7 9 A9/1
+
+## SD0
+
+internal, multiplexed with JTAG0
+and UART0, for debug purposes
+
+* SD0_CMD 10 A10/2
+* SD0_CLK 11 A11/2
+* SD0_D0 12 A12/2
+* SD0_D1 13 A13/2
+* SD0_D2 14 A14/2
+* SD0_D3 15 A15/2
## F1:IIS
I2C Audio, connect to AC97 Audio IC
-* IISMCK 116 F0/1
-* IISBCK 117 F1/1
-* IISLRCK 118 F2/1
-* IISDI 119 F3/1
-* IISDO0 120 F4/1
-* IISDO1 121 F5/1
-* IISDO2 122 F6/1
-* IISDO3 123 F7/1
+* IIS_MCK 116 F0/1
+* IIS_BCK 117 F1/1
+* IIS_LRCK 118 F2/1
+* IIS_DI 119 F3/1
+* IIS_DO 120 F4/1
-## TWI2
+## TWI1
Connect to AC97 Audio IC
-* TWI2_SDA 70 D2/3
-* TWI2_SCL 71 D3/3
+* TWI1_SDA 70 D2/3
+* TWI1_SCL 71 D3/3
-## E2:UART1
+## E2:UARTQ1
Connect to BT on AP6234/AP6335
-* UART1_TX 106 E14/2
-* UART1_RX 107 E15/2
-* UART1_CTS 108 E16/2
-* UART1_RTS 109 E17/2
+* UARTQ1_TX 106 E14/2
+* UARTQ1_RX 107 E15/2
+* UARTQ1_CTS 108 E16/2
+* UARTQ1_RTS 109 E17/2
-## E2:SD2
+## E2:SD1
Connect to WIFI on AP6234/AP6335
-* SD2_CMD 92 E0/2
-* SD2_CLK 93 E1/2
-* SD2_D0 94 E2/2
-* SD2_D1 95 E3/2
-* SD2_D2 96 E4/2
-* SD2_D3 97 E5/2
+* SD1_CMD 92 E0/2
+* SD1_CLK 93 E1/2
+* SD1_D0 94 E2/2
+* SD1_D1 95 E3/2
+* SD1_D2 96 E4/2
+* SD1_D3 97 E5/2
-## C3:UART0
+## C3:UARTQ0
-* UART0_TX 64 C20/3
-* UART0_RX 65 C21/3
-* UART0_CTS 66 C22/3
-* UART0_RTS 67 C23/3
+* UARTQ0_TX 64 C20/3
+* UARTQ0_RX 65 C21/3
+* UARTQ0_CTS 66 C22/3
+* UARTQ0_RTS 67 C23/3
-## D2:UART3
+## D2:UART1
Spare? UART (or 2 extra GPIO / EINT)
-* UART3_TX 89 D21/2
-* UART3_RX 90 D22/2
+* UART1_TX 89 D21/2
+* UART1_RX 90 D22/2
-## D2:UART4
+## D2:UART2
Spare? UART (or 2 extra GPIO)
-* UART4_TX 81 D13/2
-* UART4_RX 82 D14/2
+* UART2_TX 81 D13/2
+* UART2_RX 82 D14/2
-## D3:TWI1
+## D3:TWI0
Connect to PMIC
-* TWI1_SDA 78 D10/3
-* TWI1_SCL 79 D11/3
+* TWI0_SDA 78 D10/3
+* TWI0_SCL 79 D11/3
-## D2:TWI3
+## D2:TWI2
Connect to sensors (Trackpad? CTP GSENSOR TILT COMPASS)
-* TWI3_SDA 87 D19/2
-* TWI3_SCL 88 D20/2
+* TWI2_SDA 87 D19/2
+* TWI2_SCL 88 D20/2
-## SPI2
+## SPI1
Spare? SPI, connect to higher-speed sensor?
-* SPI2_CLK 52 C8/2
-* SPI2_NSS 53 C9/2
-* SPI2_MOSI 54 C10/2
-* SPI2_MISO 55 C11/2
+* SPI1_CLK 52 C8/2
+* SPI1_NSS 53 C9/2
+* SPI1_MOSI 54 C10/2
+* SPI1_MISO 55 C11/2
-## SPI3
+## QSPI
Boot Storage (connection to companion / debug / boot MCU)
Only actually needs MISO/MOSI, bootstrap loader v. small
Bootstrap loader checks eMMC, USB-OTG, SD/MMC, SPI, etc.
-* SPI3_CK 110 E18/2
-* SPI3_NSS 111 E19/2
-* SPI3_IO0 112 E20/2
-* SPI3_IO1 113 E21/2
-* SPI3_IO2 114 E22/2
-* SPI3_IO3 115 E23/2
+* QSPI_CK 110 E18/2
+* QSPI_NSS 111 E19/2
+* QSPI_IO0 112 E20/2
+* QSPI_IO1 113 E21/2
+* QSPI_IO2 114 E22/2
+* QSPI_IO3 115 E23/2
## EINT
-* EINT24 102 E10/3 : BT_HOST_WAKE
-* EINT25 103 E11/3 : WIFI_HOST_WAKE
-* EINT26 104 E12/3 : CTP_INT
-* EINT27 105 E13/3 : GSENSOR_INT
-* EINT8 84 D16/3 : GPS_INT
-* EINT7 83 D15/3 : TILT_SENSOR_INT
-* EINT22 100 E8/3 : COMPASS_INT
-* EINT23 101 E9/3 : MCU_INT
-* EINT16 98 E6/3 : PMIC_INT
-* EINT17 99 E7/3 : PWR_BUTTON_INT
-* EINT30 68 D0/3 : OTG_ID
-* EINT31 69 D1/3 : Spare?
+* EINT_24 102 E10/3 : BT_HOST_WAKE
+* EINT_25 103 E11/3 : WIFI_HOST_WAKE
+* EINT_26 104 E12/3 : CTP_INT
+* EINT_27 105 E13/3 : GSENSOR_INT
+* EINT_8 84 D16/3 : GPS_INT
+* EINT_7 83 D15/3 : TILT_SENSOR_INT
+* EINT_22 100 E8/3 : COMPASS_INT
+* EINT_23 101 E9/3 : MCU_INT
+* EINT_16 98 E6/3 : PMIC_INT
+* EINT_17 99 E7/3 : PWR_BUTTON_INT
+* EINT_30 68 D0/3 : OTG_ID
+* EINT_31 69 D1/3 : Spare?
## PWM
Some phones may have clam-shell or lid switch.
Some Modems have spare GPIO (over AT commandset).
AXP209 PMIC has 4x GPIO, accessible over I2C.
-SPI2, UART3-4, PWM1-2 may also be spare (10 extra GPIO).
+SPI1, UART1-4, PWM1-2 may also be spare (10 extra GPIO).
If more needed, companion MCU may be used (48+ pin variant)
which also includes ADC, DAC, more PWM etc.
| Pin | Mux0 | Mux1 | Mux2 | Mux3 |
| --- | ----------- | ----------- | ----------- | ----------- |
-| 38 | B GPIOB22 | B LCD18_0 | B SD1_CMD | B FB_AD26 |
-| 39 | B GPIOB23 | B LCD19_0 | B SD1_CLK | B FB_AD27 |
-| 40 | B GPIOB24 | B LCD20_0 | B SD1_D0 | B FB_AD28 |
-| 41 | B GPIOB25 | B LCD21_0 | B SD1_D1 | B FB_AD29 |
-| 42 | B GPIOB26 | B LCD22_0 | B SD1_D2 | B FB_AD30 |
-| 43 | B GPIOB27 | B LCD23_0 | B SD1_D3 | B FB_AD31 |
-| 72 | D GPIOD4 | D FB_AD4 | D SD2_CMD | |
-| 73 | D GPIOD5 | D FB_AD5 | D SD2_CLK | |
-| 74 | D GPIOD6 | D FB_AD6 | D SD2_D0 | |
-| 75 | D GPIOD7 | D FB_AD7 | D SD2_D1 | |
-| 76 | D GPIOD8 | D FB_CS0 | D SD2_D2 | |
-| 77 | D GPIOD9 | D FB_CS1 | D SD2_D3 | |
-| 80 | D GPIOD12 | D FB_RW | | |
-| 85 | D GPIOD17 | D FB_BWE2 | D TWI2_SDA | D FB_A0 |
-| 86 | D GPIOD18 | D FB_BWE3 | D TWI2_SCL | D FB_A1 |
-| 126 | G GPIOG0 | G RG_ERXD0 | G LCDCK_1 | G FB_AD8 |
-| 127 | G GPIOG1 | G RG_ERXD1 | G LCDDE_1 | G FB_AD9 |
-| 128 | G GPIOG2 | G RG_ERXD2 | G LCDHS_1 | G FB_AD10 |
-| 129 | G GPIOG3 | G RG_ERXD3 | G LCDVS_1 | G FB_AD11 |
-| 130 | G GPIOG4 | G RG_ETXD0 | G LCD0_1 | G FB_AD12 |
-| 131 | G GPIOG5 | G RG_ETXD1 | G LCD1_1 | G FB_AD13 |
-| 132 | G GPIOG6 | G RG_ETXD2 | G LCD2_1 | G FB_AD14 |
-| 133 | G GPIOG7 | G RG_ETXD3 | G LCD3_1 | G FB_AD15 |
-| 134 | G GPIOG8 | G RG_FB_CS0 | G LCD4_1 | G FB_AD16 |
-| 135 | G GPIOG9 | G RG_FB_CS1 | G LCD5_1 | G FB_AD17 |
-| 136 | G GPIOG10 | G RG_ERXCK | G LCD6_1 | G FB_AD18 |
-| 137 | G GPIOG11 | G RG_ERXERR | G LCD7_1 | G FB_AD19 |
-| 138 | G GPIOG12 | G RG_ERXDV | G LCD8_1 | G FB_AD20 |
-| 139 | G GPIOG13 | G RG_EMDC | G LCD9_1 | G FB_AD21 |
-| 140 | G GPIOG14 | G RG_EMDIO | G LCD10_1 | G FB_AD22 |
-| 141 | G GPIOG15 | G RG_ETXEN | G LCD11_1 | G FB_AD23 |
-| 142 | G GPIOG16 | G RG_ETXCK | G LCD12_1 | G FB_AD24 |
-| 143 | G GPIOG17 | G RG_ECRS | G LCD13_1 | G FB_AD25 |
-| 144 | G GPIOG18 | G RG_ECOL | G LCD14_1 | G FB_AD26 |
-| 145 | G GPIOG19 | G RG_ETXERR | G LCD15_1 | G FB_AD27 |
-| 146 | G GPIOG20 | G ULPI3_CK | G LCD16_1 | G FB_AD28 |
-| 147 | G GPIOG21 | G ULPI3_DIR | G LCD17_1 | G FB_AD29 |
-| 148 | G GPIOG22 | G ULPI3_STP | G LCD18_1 | G FB_AD30 |
-| 149 | G GPIOG23 | G ULPI3_NXT | G LCD19_1 | G FB_AD31 |
-| 150 | G GPIOG24 | G ULPI3_D0 | G LCD20_1 | G SD2_CMD |
-| 151 | G GPIOG25 | G ULPI3_D1 | G LCD21_1 | G SD2_CLK |
-| 152 | G GPIOG26 | G ULPI3_D2 | G LCD22_1 | G SPI3_CK |
-| 153 | G GPIOG27 | G ULPI3_D3 | G LCD23_1 | G SPI3_NSS |
-| 154 | G GPIOG28 | G ULPI3_D4 | G SD2_D0 | G SPI3_IO0 |
-| 155 | G GPIOG29 | G ULPI3_D5 | G SD2_D1 | G SPI3_IO1 |
-| 156 | G GPIOG30 | G ULPI3_D6 | G SD2_D2 | G SPI3_IO2 |
-| 157 | G GPIOG31 | G ULPI3_D7 | G SD2_D3 | G SPI3_IO3 |
+| 38 | B GPIOB_B22 | B LCD0_D18 | B SD0_CMD | B FB_AD26 |
+| 39 | B GPIOB_B23 | B LCD0_D19 | B SD0_CLK | B FB_AD27 |
+| 40 | B GPIOB_B24 | B LCD0_D20 | B SD0_D0 | B FB_AD28 |
+| 41 | B GPIOB_B25 | B LCD0_D21 | B SD0_D1 | B FB_AD29 |
+| 42 | B GPIOB_B26 | B LCD0_D22 | B SD0_D2 | B FB_AD30 |
+| 43 | B GPIOB_B27 | B LCD0_D23 | B SD0_D3 | B FB_AD31 |
+| 72 | D GPIOD_D4 | D FB_AD4 | D SD1_CMD | |
+| 73 | D GPIOD_D5 | D FB_AD5 | D SD1_CLK | |
+| 74 | D GPIOD_D6 | D FB_AD6 | D SD1_D0 | |
+| 75 | D GPIOD_D7 | D FB_AD7 | D SD1_D1 | |
+| 76 | D GPIOD_D8 | D FB_CS0 | D SD1_D2 | D TWI1_SDA |
+| 77 | D GPIOD_D9 | D FB_CS1 | D SD1_D3 | D TWI1_SCL |
+| 80 | D GPIOD_D12 | D FB_RW | | |
+| 85 | D GPIOD_D17 | D FB_BWE2 | D FB_CS2 | D FB_A0 |
+| 86 | D GPIOD_D18 | D FB_BWE3 | D FB_CS3 | D FB_A1 |
+| 121 | F GPIOF_F5 | | F SD2_D3 | F EINT_7 |
+| 122 | F GPIOF_F6 | | F TWI0_SDA | F EINT_28 |
+| 123 | F GPIOF_F7 | | F TWI0_SCL | F EINT_29 |
+| 126 | G GPIOG_G0 | G RG_ERXD0 | G LCD1_CK | G FB_AD8 |
+| 127 | G GPIOG_G1 | G RG_ERXD1 | G LCD1_DE | G FB_AD9 |
+| 128 | G GPIOG_G2 | G RG_ERXD2 | G LCD1_HS | G FB_AD10 |
+| 129 | G GPIOG_G3 | G RG_ERXD3 | G LCD1_VS | G FB_AD11 |
+| 130 | G GPIOG_G4 | G RG_ETXD0 | G LCD1_D0 | G FB_AD12 |
+| 131 | G GPIOG_G5 | G RG_ETXD1 | G LCD1_D1 | G FB_AD13 |
+| 132 | G GPIOG_G6 | G RG_ETXD2 | G LCD1_D2 | G FB_AD14 |
+| 133 | G GPIOG_G7 | G RG_ETXD3 | G LCD1_D3 | G FB_AD15 |
+| 134 | G GPIOG_G8 | G RG_ERXCK | G LCD1_D4 | G FB_AD16 |
+| 135 | G GPIOG_G9 | G RG_ERXERR | G LCD1_D5 | G FB_AD17 |
+| 136 | G GPIOG_G10 | G RG_ERXDV | G LCD1_D6 | G FB_AD18 |
+| 137 | G GPIOG_G11 | G RG_EMDC | G LCD1_D7 | G FB_AD19 |
+| 138 | G GPIOG_G12 | G RG_EMDIO | G LCD1_D8 | G FB_AD20 |
+| 139 | G GPIOG_G13 | G RG_ETXEN | G LCD1_D9 | G FB_AD21 |
+| 140 | G GPIOG_G14 | G RG_ETXCK | G LCD1_D10 | G FB_AD22 |
+| 141 | G GPIOG_G15 | G RG_ECRS | G LCD1_D11 | G FB_AD23 |
+| 142 | G GPIOG_G16 | G RG_ECOL | G LCD1_D12 | G FB_AD24 |
+| 143 | G GPIOG_G17 | G RG_ETXERR | G LCD1_D13 | G FB_AD25 |
+| 144 | G GPIOG_G18 | | G LCD1_D14 | G FB_AD26 |
+| 145 | G GPIOG_G19 | | G LCD1_D15 | G FB_AD27 |
+| 146 | G GPIOG_G20 | G ULPI2_CK | G LCD1_D16 | G FB_AD28 |
+| 147 | G GPIOG_G21 | G ULPI2_DIR | G LCD1_D17 | G FB_AD29 |
+| 148 | G GPIOG_G22 | G ULPI2_STP | G LCD1_D18 | G FB_AD30 |
+| 149 | G GPIOG_G23 | G ULPI2_NXT | G LCD1_D19 | G FB_AD31 |
+| 150 | G GPIOG_G24 | G ULPI2_D0 | G LCD1_D20 | G SD1_CMD |
+| 151 | G GPIOG_G25 | G ULPI2_D1 | G LCD1_D21 | G SD1_CLK |
+| 152 | G GPIOG_G26 | G ULPI2_D2 | G LCD1_D22 | G QSPI_CK |
+| 153 | G GPIOG_G27 | G ULPI2_D3 | G LCD1_D23 | G QSPI_NSS |
+| 154 | G GPIOG_G28 | G ULPI2_D4 | G SD1_D0 | G QSPI_IO0 |
+| 155 | G GPIOG_G29 | G ULPI2_D5 | G SD1_D1 | G QSPI_IO1 |
+| 156 | G GPIOG_G30 | G ULPI2_D6 | G SD1_D2 | G QSPI_IO2 |
+| 157 | G GPIOG_G31 | G ULPI2_D7 | G SD1_D3 | G QSPI_IO3 |
# Pinmap for Laptop / Netbook
or a Chrontel CH7039, CH7038, CH7034 or CH7018 for dual
display output (eDP/LVDS and HDMI/VGA) conversion.
-* LCDCK_0 16 B0/1
-* LCDDE_0 17 B1/1
-* LCDHS_0 18 B2/1
-* LCDVS_0 19 B3/1
-* LCD0_0 20 B4/1
-* LCD1_0 21 B5/1
-* LCD2_0 22 B6/1
-* LCD3_0 23 B7/1
-* LCD4_0 24 B8/1
-* LCD5_0 25 B9/1
-* LCD6_0 26 B10/1
-* LCD7_0 27 B11/1
-* LCD8_0 28 B12/1
-* LCD9_0 29 B13/1
-* LCD10_0 30 B14/1
-* LCD11_0 31 B15/1
-* LCD12_0 32 B16/1
-* LCD13_0 33 B17/1
-* LCD14_0 34 B18/1
-* LCD15_0 35 B19/1
-* LCD16_0 36 B20/1
-* LCD17_0 37 B21/1
-
-## ULPI1/8
+* LCD0_CK 16 B0/1
+* LCD0_DE 17 B1/1
+* LCD0_HS 18 B2/1
+* LCD0_VS 19 B3/1
+* LCD0_D0 20 B4/1
+* LCD0_D1 21 B5/1
+* LCD0_D2 22 B6/1
+* LCD0_D3 23 B7/1
+* LCD0_D4 24 B8/1
+* LCD0_D5 25 B9/1
+* LCD0_D6 26 B10/1
+* LCD0_D7 27 B11/1
+* LCD0_D8 28 B12/1
+* LCD0_D9 29 B13/1
+* LCD0_D10 30 B14/1
+* LCD0_D11 31 B15/1
+* LCD0_D12 32 B16/1
+* LCD0_D13 33 B17/1
+* LCD0_D14 34 B18/1
+* LCD0_D15 35 B19/1
+* LCD0_D16 36 B20/1
+* LCD0_D17 37 B21/1
+
+## ULPI0/8
USB-OTG, connect to ULPI OTG PHY (for charging)
as well as USB Host or USB Device
-* ULPI1_CK 44 C0/1
-* ULPI1_DIR 45 C1/1
-* ULPI1_STP 46 C2/1
-* ULPI1_NXT 47 C3/1
-* ULPI1_D0 48 C4/1
-* ULPI1_D1 49 C5/1
-* ULPI1_D2 50 C6/1
-* ULPI1_D3 51 C7/1
+* ULPI0_CK 44 C0/1
+* ULPI0_DIR 45 C1/1
+* ULPI0_STP 46 C2/1
+* ULPI0_NXT 47 C3/1
+* ULPI0_D0 48 C4/1
+* ULPI0_D1 49 C5/1
+* ULPI0_D2 50 C6/1
+* ULPI0_D3 51 C7/1
-## ULPI2/8
+## ULPI1/8
USB2 Host, connect to ULPI PHY w/and 4-port USB2 Hub
for example GL850G or FE1.1. Connects to USB-Camera (VC0345 and 3x external USB Ports)
-* ULPI2_CK 56 C12/1
-* ULPI2_DIR 57 C13/1
-* ULPI2_STP 58 C14/1
-* ULPI2_NXT 59 C15/1
-* ULPI2_D0 60 C16/1
-* ULPI2_D1 61 C17/1
-* ULPI2_D2 62 C18/1
-* ULPI2_D3 63 C19/1
+* ULPI1_CK 56 C12/1
+* ULPI1_DIR 57 C13/1
+* ULPI1_STP 58 C14/1
+* ULPI1_NXT 59 C15/1
+* ULPI1_D0 60 C16/1
+* ULPI1_D1 61 C17/1
+* ULPI1_D2 62 C18/1
+* ULPI1_D3 63 C19/1
## MMC
eMMC: main internal storage
-* MMCCMD 0 A0/1
-* MMCCLK 1 A1/1
-* MMCD0 2 A2/1
-* MMCD1 3 A3/1
-* MMCD2 4 A4/1
-* MMCD3 5 A5/1
-* MMCD4 6 A6/1
-* MMCD5 7 A7/1
-* MMCD6 8 A8/1
-* MMCD7 9 A9/1
-
-## SD1
-
-internal, multiplexed with JTAG1
-and UART2, for debug purposes
-
-* SD1_CMD 10 A10/2
-* SD1_CLK 11 A11/2
-* SD1_D0 12 A12/2
-* SD1_D1 13 A13/2
-* SD1_D2 14 A14/2
-* SD1_D3 15 A15/2
+* MMC_CMD 0 A0/1
+* MMC_CLK 1 A1/1
+* MMC_D0 2 A2/1
+* MMC_D1 3 A3/1
+* MMC_D2 4 A4/1
+* MMC_D3 5 A5/1
+* MMC_D4 6 A6/1
+* MMC_D5 7 A7/1
+* MMC_D6 8 A8/1
+* MMC_D7 9 A9/1
+
+## SD0
+
+internal, multiplexed with JTAG0
+and UART0, for debug purposes
+
+* SD0_CMD 10 A10/2
+* SD0_CLK 11 A11/2
+* SD0_D0 12 A12/2
+* SD0_D1 13 A13/2
+* SD0_D2 14 A14/2
+* SD0_D3 15 A15/2
## F1:IIS
I2C Audio, connect to AC97 Audio IC
-* IISMCK 116 F0/1
-* IISBCK 117 F1/1
-* IISLRCK 118 F2/1
-* IISDI 119 F3/1
-* IISDO0 120 F4/1
-* IISDO1 121 F5/1
-* IISDO2 122 F6/1
-* IISDO3 123 F7/1
+* IIS_MCK 116 F0/1
+* IIS_BCK 117 F1/1
+* IIS_LRCK 118 F2/1
+* IIS_DI 119 F3/1
+* IIS_DO 120 F4/1
-## TWI2
+## TWI1
Connect to AC97 Audio IC
-* TWI2_SDA 85 D17/2
-* TWI2_SCL 86 D18/2
-## E2:UART1
+## E2:UARTQ1
Connect to BT on AP6234/AP6335
-* UART1_TX 106 E14/2
-* UART1_RX 107 E15/2
-* UART1_CTS 108 E16/2
-* UART1_RTS 109 E17/2
+* UARTQ1_TX 106 E14/2
+* UARTQ1_RX 107 E15/2
+* UARTQ1_CTS 108 E16/2
+* UARTQ1_RTS 109 E17/2
-## E2:SD3
+## E2:SD2
Connect to WIFI on AP6234/AP6335
-* SD3_CMD 100 E8/2
-* SD3_CLK 101 E9/2
-* SD3_D0 102 E10/2
-* SD3_D1 103 E11/2
-* SD3_D2 104 E12/2
-* SD3_D3 105 E13/2
+* SD2_CMD 100 E8/2
+* SD2_CLK 101 E9/2
+* SD2_D0 102 E10/2
+* SD2_D1 103 E11/2
+* SD2_D2 104 E12/2
+* SD2_D3 105 E13/2
-## D2:TWI3
+## D2:TWI2
Connect to PMIC
-* TWI3_SDA 87 D19/2
-* TWI3_SCL 88 D20/2
+* TWI2_SDA 87 D19/2
+* TWI2_SCL 88 D20/2
-## SPI3
+## QSPI
Boot Storage (connection to companion / debug / boot MCU)
Only actually needs MISO/MOSI, bootstrap loader v. small
Bootstrap loader checks eMMC, USB-OTG, SD/MMC, SPI, etc.
MCU implements keyboard-matrix for keyboard (also trackpad?)
-* SPI3_CK 110 E18/2
-* SPI3_NSS 111 E19/2
-* SPI3_IO0 112 E20/2
-* SPI3_IO1 113 E21/2
-* SPI3_IO2 114 E22/2
-* SPI3_IO3 115 E23/2
+* QSPI_CK 110 E18/2
+* QSPI_NSS 111 E19/2
+* QSPI_IO0 112 E20/2
+* QSPI_IO1 113 E21/2
+* QSPI_IO2 114 E22/2
+* QSPI_IO3 115 E23/2
## EINT
-* EINT20 89 D21/3 : BT_HOST_WAKE
-* EINT21 90 D22/3 : WIFI_HOST_WAKE
-* EINT9 91 D23/3 : MCU_INT
-* EINT31 125 F9/3 : PMIC_INT
+* EINT_20 89 D21/3 : BT_HOST_WAKE
+* EINT_21 90 D22/3 : WIFI_HOST_WAKE
+* EINT_9 91 D23/3 : MCU_INT
+* EINT_31 125 F9/3 : PMIC_INT
## PWM
| Pin | Mux0 | Mux1 | Mux2 | Mux3 |
| --- | ----------- | ----------- | ----------- | ----------- |
-| 38 | B GPIOB22 | B LCD18_0 | B SD1_CMD | B FB_AD26 |
-| 39 | B GPIOB23 | B LCD19_0 | B SD1_CLK | B FB_AD27 |
-| 40 | B GPIOB24 | B LCD20_0 | B SD1_D0 | B FB_AD28 |
-| 41 | B GPIOB25 | B LCD21_0 | B SD1_D1 | B FB_AD29 |
-| 42 | B GPIOB26 | B LCD22_0 | B SD1_D2 | B FB_AD30 |
-| 43 | B GPIOB27 | B LCD23_0 | B SD1_D3 | B FB_AD31 |
-| 52 | C GPIOC8 | C ULPI1_D4 | C SPI2_CLK | C JTAG2_MS |
-| 53 | C GPIOC9 | C ULPI1_D5 | C SPI2_NSS | C JTAG2_DI |
-| 54 | C GPIOC10 | C ULPI1_D6 | C SPI2_MOSI | C JTAG2_DO |
-| 55 | C GPIOC11 | C ULPI1_D7 | C SPI2_MISO | C JTAG2_CK |
-| 64 | C GPIOC20 | C ULPI2_D4 | C IISDO3 | C UART0_TX |
-| 65 | C GPIOC21 | C ULPI2_D5 | C PWM_2 | C UART0_RX |
-| 66 | C GPIOC22 | C ULPI2_D6 | C UART2_TX | C UART0_CTS |
-| 67 | C GPIOC23 | C ULPI2_D7 | C UART2_RX | C UART0_RTS |
-| 126 | G GPIOG0 | G RG_ERXD0 | G LCDCK_1 | G FB_AD8 |
-| 127 | G GPIOG1 | G RG_ERXD1 | G LCDDE_1 | G FB_AD9 |
-| 128 | G GPIOG2 | G RG_ERXD2 | G LCDHS_1 | G FB_AD10 |
-| 129 | G GPIOG3 | G RG_ERXD3 | G LCDVS_1 | G FB_AD11 |
-| 130 | G GPIOG4 | G RG_ETXD0 | G LCD0_1 | G FB_AD12 |
-| 131 | G GPIOG5 | G RG_ETXD1 | G LCD1_1 | G FB_AD13 |
-| 132 | G GPIOG6 | G RG_ETXD2 | G LCD2_1 | G FB_AD14 |
-| 133 | G GPIOG7 | G RG_ETXD3 | G LCD3_1 | G FB_AD15 |
-| 134 | G GPIOG8 | G RG_FB_CS0 | G LCD4_1 | G FB_AD16 |
-| 135 | G GPIOG9 | G RG_FB_CS1 | G LCD5_1 | G FB_AD17 |
-| 136 | G GPIOG10 | G RG_ERXCK | G LCD6_1 | G FB_AD18 |
-| 137 | G GPIOG11 | G RG_ERXERR | G LCD7_1 | G FB_AD19 |
-| 138 | G GPIOG12 | G RG_ERXDV | G LCD8_1 | G FB_AD20 |
-| 139 | G GPIOG13 | G RG_EMDC | G LCD9_1 | G FB_AD21 |
-| 140 | G GPIOG14 | G RG_EMDIO | G LCD10_1 | G FB_AD22 |
-| 141 | G GPIOG15 | G RG_ETXEN | G LCD11_1 | G FB_AD23 |
-| 142 | G GPIOG16 | G RG_ETXCK | G LCD12_1 | G FB_AD24 |
-| 143 | G GPIOG17 | G RG_ECRS | G LCD13_1 | G FB_AD25 |
-| 144 | G GPIOG18 | G RG_ECOL | G LCD14_1 | G FB_AD26 |
-| 145 | G GPIOG19 | G RG_ETXERR | G LCD15_1 | G FB_AD27 |
-| 146 | G GPIOG20 | G ULPI3_CK | G LCD16_1 | G FB_AD28 |
-| 147 | G GPIOG21 | G ULPI3_DIR | G LCD17_1 | G FB_AD29 |
-| 148 | G GPIOG22 | G ULPI3_STP | G LCD18_1 | G FB_AD30 |
-| 149 | G GPIOG23 | G ULPI3_NXT | G LCD19_1 | G FB_AD31 |
-| 150 | G GPIOG24 | G ULPI3_D0 | G LCD20_1 | G SD2_CMD |
-| 151 | G GPIOG25 | G ULPI3_D1 | G LCD21_1 | G SD2_CLK |
-| 152 | G GPIOG26 | G ULPI3_D2 | G LCD22_1 | G SPI3_CK |
-| 153 | G GPIOG27 | G ULPI3_D3 | G LCD23_1 | G SPI3_NSS |
-| 154 | G GPIOG28 | G ULPI3_D4 | G SD2_D0 | G SPI3_IO0 |
-| 155 | G GPIOG29 | G ULPI3_D5 | G SD2_D1 | G SPI3_IO1 |
-| 156 | G GPIOG30 | G ULPI3_D6 | G SD2_D2 | G SPI3_IO2 |
-| 157 | G GPIOG31 | G ULPI3_D7 | G SD2_D3 | G SPI3_IO3 |
+| 38 | B GPIOB_B22 | B LCD0_D18 | B SD0_CMD | B FB_AD26 |
+| 39 | B GPIOB_B23 | B LCD0_D19 | B SD0_CLK | B FB_AD27 |
+| 40 | B GPIOB_B24 | B LCD0_D20 | B SD0_D0 | B FB_AD28 |
+| 41 | B GPIOB_B25 | B LCD0_D21 | B SD0_D1 | B FB_AD29 |
+| 42 | B GPIOB_B26 | B LCD0_D22 | B SD0_D2 | B FB_AD30 |
+| 43 | B GPIOB_B27 | B LCD0_D23 | B SD0_D3 | B FB_AD31 |
+| 52 | C GPIOC_C8 | C ULPI0_D4 | C SPI1_CLK | C JTAG1_MS |
+| 53 | C GPIOC_C9 | C ULPI0_D5 | C SPI1_NSS | C JTAG1_DI |
+| 54 | C GPIOC_C10 | C ULPI0_D6 | C SPI1_MOSI | C JTAG1_DO |
+| 55 | C GPIOC_C11 | C ULPI0_D7 | C SPI1_MISO | C JTAG1_CK |
+| 64 | C GPIOC_C20 | C ULPI1_D4 | | C UARTQ0_TX |
+| 65 | C GPIOC_C21 | C ULPI1_D5 | C PWM_2 | C UARTQ0_RX |
+| 66 | C GPIOC_C22 | C ULPI1_D6 | C UART0_TX | C UARTQ0_CTS |
+| 67 | C GPIOC_C23 | C ULPI1_D7 | C UART0_RX | C UARTQ0_RTS |
+| 85 | D GPIOD_D17 | D FB_BWE2 | D FB_CS2 | D FB_A0 |
+| 86 | D GPIOD_D18 | D FB_BWE3 | D FB_CS3 | D FB_A1 |
+| 121 | F GPIOF_F5 | | F SD2_D3 | F EINT_7 |
+| 122 | F GPIOF_F6 | | F TWI0_SDA | F EINT_28 |
+| 123 | F GPIOF_F7 | | F TWI0_SCL | F EINT_29 |
+| 126 | G GPIOG_G0 | G RG_ERXD0 | G LCD1_CK | G FB_AD8 |
+| 127 | G GPIOG_G1 | G RG_ERXD1 | G LCD1_DE | G FB_AD9 |
+| 128 | G GPIOG_G2 | G RG_ERXD2 | G LCD1_HS | G FB_AD10 |
+| 129 | G GPIOG_G3 | G RG_ERXD3 | G LCD1_VS | G FB_AD11 |
+| 130 | G GPIOG_G4 | G RG_ETXD0 | G LCD1_D0 | G FB_AD12 |
+| 131 | G GPIOG_G5 | G RG_ETXD1 | G LCD1_D1 | G FB_AD13 |
+| 132 | G GPIOG_G6 | G RG_ETXD2 | G LCD1_D2 | G FB_AD14 |
+| 133 | G GPIOG_G7 | G RG_ETXD3 | G LCD1_D3 | G FB_AD15 |
+| 134 | G GPIOG_G8 | G RG_ERXCK | G LCD1_D4 | G FB_AD16 |
+| 135 | G GPIOG_G9 | G RG_ERXERR | G LCD1_D5 | G FB_AD17 |
+| 136 | G GPIOG_G10 | G RG_ERXDV | G LCD1_D6 | G FB_AD18 |
+| 137 | G GPIOG_G11 | G RG_EMDC | G LCD1_D7 | G FB_AD19 |
+| 138 | G GPIOG_G12 | G RG_EMDIO | G LCD1_D8 | G FB_AD20 |
+| 139 | G GPIOG_G13 | G RG_ETXEN | G LCD1_D9 | G FB_AD21 |
+| 140 | G GPIOG_G14 | G RG_ETXCK | G LCD1_D10 | G FB_AD22 |
+| 141 | G GPIOG_G15 | G RG_ECRS | G LCD1_D11 | G FB_AD23 |
+| 142 | G GPIOG_G16 | G RG_ECOL | G LCD1_D12 | G FB_AD24 |
+| 143 | G GPIOG_G17 | G RG_ETXERR | G LCD1_D13 | G FB_AD25 |
+| 144 | G GPIOG_G18 | | G LCD1_D14 | G FB_AD26 |
+| 145 | G GPIOG_G19 | | G LCD1_D15 | G FB_AD27 |
+| 146 | G GPIOG_G20 | G ULPI2_CK | G LCD1_D16 | G FB_AD28 |
+| 147 | G GPIOG_G21 | G ULPI2_DIR | G LCD1_D17 | G FB_AD29 |
+| 148 | G GPIOG_G22 | G ULPI2_STP | G LCD1_D18 | G FB_AD30 |
+| 149 | G GPIOG_G23 | G ULPI2_NXT | G LCD1_D19 | G FB_AD31 |
+| 150 | G GPIOG_G24 | G ULPI2_D0 | G LCD1_D20 | G SD1_CMD |
+| 151 | G GPIOG_G25 | G ULPI2_D1 | G LCD1_D21 | G SD1_CLK |
+| 152 | G GPIOG_G26 | G ULPI2_D2 | G LCD1_D22 | G QSPI_CK |
+| 153 | G GPIOG_G27 | G ULPI2_D3 | G LCD1_D23 | G QSPI_NSS |
+| 154 | G GPIOG_G28 | G ULPI2_D4 | G SD1_D0 | G QSPI_IO0 |
+| 155 | G GPIOG_G29 | G ULPI2_D5 | G SD1_D1 | G QSPI_IO1 |
+| 156 | G GPIOG_G30 | G ULPI2_D6 | G SD1_D2 | G QSPI_IO2 |
+| 157 | G GPIOG_G31 | G ULPI2_D7 | G SD1_D3 | G QSPI_IO3 |
# Pinmap for IoT
or a Chrontel CH7039, CH7038, CH7034 or CH7018 for dual
display output (eDP/LVDS and HDMI/VGA) conversion.
-* LCDCK_0 16 B0/1
-* LCDDE_0 17 B1/1
-* LCDHS_0 18 B2/1
-* LCDVS_0 19 B3/1
-* LCD0_0 20 B4/1
-* LCD1_0 21 B5/1
-* LCD2_0 22 B6/1
-* LCD3_0 23 B7/1
-* LCD4_0 24 B8/1
-* LCD5_0 25 B9/1
-* LCD6_0 26 B10/1
-* LCD7_0 27 B11/1
-* LCD8_0 28 B12/1
-* LCD9_0 29 B13/1
-* LCD10_0 30 B14/1
-* LCD11_0 31 B15/1
-* LCD12_0 32 B16/1
-* LCD13_0 33 B17/1
-* LCD14_0 34 B18/1
-* LCD15_0 35 B19/1
-* LCD16_0 36 B20/1
-* LCD17_0 37 B21/1
-* LCD18_0 38 B22/1
-* LCD19_0 39 B23/1
-* LCD20_0 40 B24/1
-* LCD21_0 41 B25/1
-* LCD22_0 42 B26/1
-* LCD23_0 43 B27/1
-
-## ULPI2/8
+* LCD0_CK 16 B0/1
+* LCD0_DE 17 B1/1
+* LCD0_HS 18 B2/1
+* LCD0_VS 19 B3/1
+* LCD0_D0 20 B4/1
+* LCD0_D1 21 B5/1
+* LCD0_D2 22 B6/1
+* LCD0_D3 23 B7/1
+* LCD0_D4 24 B8/1
+* LCD0_D5 25 B9/1
+* LCD0_D6 26 B10/1
+* LCD0_D7 27 B11/1
+* LCD0_D8 28 B12/1
+* LCD0_D9 29 B13/1
+* LCD0_D10 30 B14/1
+* LCD0_D11 31 B15/1
+* LCD0_D12 32 B16/1
+* LCD0_D13 33 B17/1
+* LCD0_D14 34 B18/1
+* LCD0_D15 35 B19/1
+* LCD0_D16 36 B20/1
+* LCD0_D17 37 B21/1
+* LCD0_D18 38 B22/1
+* LCD0_D19 39 B23/1
+* LCD0_D20 40 B24/1
+* LCD0_D21 41 B25/1
+* LCD0_D22 42 B26/1
+* LCD0_D23 43 B27/1
+
+## ULPI1/8
USB-OTG, connect to ULPI OTG PHY (for charging)
as well as USB Host or USB Device
-* ULPI2_CK 56 C12/1
-* ULPI2_DIR 57 C13/1
-* ULPI2_STP 58 C14/1
-* ULPI2_NXT 59 C15/1
-* ULPI2_D0 60 C16/1
-* ULPI2_D1 61 C17/1
-* ULPI2_D2 62 C18/1
-* ULPI2_D3 63 C19/1
+* ULPI1_CK 56 C12/1
+* ULPI1_DIR 57 C13/1
+* ULPI1_STP 58 C14/1
+* ULPI1_NXT 59 C15/1
+* ULPI1_D0 60 C16/1
+* ULPI1_D1 61 C17/1
+* ULPI1_D2 62 C18/1
+* ULPI1_D3 63 C19/1
-## ULPI1/8
+## ULPI0/8
USB2 Host, connect to ULPI PHY
-* ULPI1_CK 44 C0/1
-* ULPI1_DIR 45 C1/1
-* ULPI1_STP 46 C2/1
-* ULPI1_NXT 47 C3/1
-* ULPI1_D0 48 C4/1
-* ULPI1_D1 49 C5/1
-* ULPI1_D2 50 C6/1
-* ULPI1_D3 51 C7/1
+* ULPI0_CK 44 C0/1
+* ULPI0_DIR 45 C1/1
+* ULPI0_STP 46 C2/1
+* ULPI0_NXT 47 C3/1
+* ULPI0_D0 48 C4/1
+* ULPI0_D1 49 C5/1
+* ULPI0_D2 50 C6/1
+* ULPI0_D3 51 C7/1
## MMC
eMMC: main internal storage
-* MMCCMD 0 A0/1
-* MMCCLK 1 A1/1
-* MMCD0 2 A2/1
-* MMCD1 3 A3/1
-* MMCD2 4 A4/1
-* MMCD3 5 A5/1
-* MMCD4 6 A6/1
-* MMCD5 7 A7/1
-* MMCD6 8 A8/1
-* MMCD7 9 A9/1
-
-## SD1
-
-internal, multiplexed with JTAG1
-and UART2, for debug purposes
-
-* SD1_CMD 10 A10/2
-* SD1_CLK 11 A11/2
-* SD1_D0 12 A12/2
-* SD1_D1 13 A13/2
-* SD1_D2 14 A14/2
-* SD1_D3 15 A15/2
+* MMC_CMD 0 A0/1
+* MMC_CLK 1 A1/1
+* MMC_D0 2 A2/1
+* MMC_D1 3 A3/1
+* MMC_D2 4 A4/1
+* MMC_D3 5 A5/1
+* MMC_D4 6 A6/1
+* MMC_D5 7 A7/1
+* MMC_D6 8 A8/1
+* MMC_D7 9 A9/1
+
+## SD0
+
+internal, multiplexed with JTAG0
+and UART0, for debug purposes
+
+* SD0_CMD 10 A10/2
+* SD0_CLK 11 A11/2
+* SD0_D0 12 A12/2
+* SD0_D1 13 A13/2
+* SD0_D2 14 A14/2
+* SD0_D3 15 A15/2
## F1:IIS
I2C Audio, connect to AC97 Audio IC
-* IISMCK 116 F0/1
-* IISBCK 117 F1/1
-* IISLRCK 118 F2/1
-* IISDI 119 F3/1
-* IISDO0 120 F4/1
-* IISDO1 121 F5/1
-* IISDO2 122 F6/1
-* IISDO3 123 F7/1
+* IIS_MCK 116 F0/1
+* IIS_BCK 117 F1/1
+* IIS_LRCK 118 F2/1
+* IIS_DI 119 F3/1
+* IIS_DO 120 F4/1
-## C3:UART0
+## C3:UARTQ0
Connect to HSPA UART
-* UART0_TX 64 C20/3
-* UART0_RX 65 C21/3
-* UART0_CTS 66 C22/3
-* UART0_RTS 67 C23/3
+* UARTQ0_TX 64 C20/3
+* UARTQ0_RX 65 C21/3
+* UARTQ0_CTS 66 C22/3
+* UARTQ0_RTS 67 C23/3
-## E2:UART1
+## E2:UARTQ1
Connect to BT UART
-* UART1_TX 106 E14/2
-* UART1_RX 107 E15/2
-* UART1_CTS 108 E16/2
-* UART1_RTS 109 E17/2
+* UARTQ1_TX 106 E14/2
+* UARTQ1_RX 107 E15/2
+* UARTQ1_CTS 108 E16/2
+* UARTQ1_RTS 109 E17/2
-## C2:SPI2
+## C2:SPI1
HSPA SPI
-* SPI2_CLK 52 C8/2
-* SPI2_NSS 53 C9/2
-* SPI2_MOSI 54 C10/2
-* SPI2_MISO 55 C11/2
+* SPI1_CLK 52 C8/2
+* SPI1_NSS 53 C9/2
+* SPI1_MOSI 54 C10/2
+* SPI1_MISO 55 C11/2
-## E2:SD3
+## E2:SD2
Connect to WIFI
-* SD3_CMD 100 E8/2
-* SD3_CLK 101 E9/2
-* SD3_D0 102 E10/2
-* SD3_D1 103 E11/2
-* SD3_D2 104 E12/2
-* SD3_D3 105 E13/2
+* SD2_CMD 100 E8/2
+* SD2_CLK 101 E9/2
+* SD2_D0 102 E10/2
+* SD2_D1 103 E11/2
+* SD2_D2 104 E12/2
+* SD2_D3 105 E13/2
-## D3:TWI1
+## D3:TWI0
Connect to sensors CTP
-* TWI1_SDA 78 D10/3
-* TWI1_SCL 79 D11/3
+* TWI0_SDA 78 D10/3
+* TWI0_SCL 79 D11/3
-## D2:TWI3
+## D2:TWI2
Connect to PMIC
-* TWI3_SDA 87 D19/2
-* TWI3_SCL 88 D20/2
+* TWI2_SDA 87 D19/2
+* TWI2_SCL 88 D20/2
-## SPI3
+## QSPI
Boot Storage (connection to companion / debug / boot MCU)
Only actually needs MISO/MOSI, bootstrap loader v. small
Bootstrap loader checks eMMC, USB-OTG, SD/MMC, SPI, etc.
MCU implements keyboard-matrix for keyboard (also trackpad?)
-* SPI3_CK 110 E18/2
-* SPI3_NSS 111 E19/2
-* SPI3_IO0 112 E20/2
-* SPI3_IO1 113 E21/2
-* SPI3_IO2 114 E22/2
-* SPI3_IO3 115 E23/2
+* QSPI_CK 110 E18/2
+* QSPI_NSS 111 E19/2
+* QSPI_IO0 112 E20/2
+* QSPI_IO1 113 E21/2
+* QSPI_IO2 114 E22/2
+* QSPI_IO3 115 E23/2
## GPIO
-* GPIOD12 80 D12 : LCD_RDN
-* GPIOD17 85 D17 : LCD_WRN
-* GPIOD18 86 D18 : LCD_RS
-* GPIOD2 70 D2 : HSPA_SHUTDOWN
-* GPIOD21 89 D21 : LCD_CSN
-* GPIOD3 71 D3 : CTP_RST
-* GPIOD4 72 D4 : WL_WAKE_AP
-* GPIOD5 73 D5 : BT_WAKE_AP
-* GPIOD6 74 D6 : AP_WAKE_BT
-* GPIOD7 75 D7 : AP_CK32KO
-* GPIOD8 76 D8 : HSPA_PWRON
-* GPIOD9 77 D9 : BT_RST_N
-* GPIOE5 97 E5 : HSPA_ON_OFF
+* GPIOD_D12 80 D12 : LCD_RDN
+* GPIOD_D17 85 D17 : LCD_WRN
+* GPIOD_D18 86 D18 : LCD_RS
+* GPIOD_D2 70 D2 : HSPA_SHUTDOWN
+* GPIOD_D21 89 D21 : LCD_CSN
+* GPIOD_D3 71 D3 : CTP_RST
+* GPIOD_D4 72 D4 : WL_WAKE_AP
+* GPIOD_D5 73 D5 : BT_WAKE_AP
+* GPIOD_D6 74 D6 : AP_WAKE_BT
+* GPIOD_D7 75 D7 : AP_CK32KO
+* GPIOD_D8 76 D8 : HSPA_PWRON
+* GPIOD_D9 77 D9 : BT_RST_N
+* GPIOE_E5 97 E5 : HSPA_ON_OFF
## EINT
-* EINT5 81 D13/3 : HSPA_MST_RDY
-* EINT6 82 D14/3 : HSPA_SL_RDY
-* EINT7 83 D15/3 : HSPA_RING
-* EINT8 84 D16/3 : WL_PMU_EN
-* EINT9 91 D23/3 : HSPA_GPIO1
-* EINT10 92 E0/3 : IR_DT
-* EINT11 93 E1/3 : BT_PCM_CLK
-* EINT12 94 E2/3 : BT_PCM_DIN
-* EINT13 95 E3/3 : BT_PCM_SYNC
-* EINT14 96 E4/3 : BT_PCM_DOUT
-* EINT16 98 E6/3 : USB_DRVVBUS
-* EINT17 99 E7/3 : USB_VBUSDET
-* EINT21 90 D22/3 : USB_ID
-* EINT30 68 D0/3 : CTP_INT
-* EINT31 69 D1/3 : SD_DETN
+* EINT_5 81 D13/3 : HSPA_MST_RDY
+* EINT_6 82 D14/3 : HSPA_SL_RDY
+* EINT_7 83 D15/3 : HSPA_RING
+* EINT_8 84 D16/3 : WL_PMU_EN
+* EINT_9 91 D23/3 : HSPA_GPIO1
+* EINT_10 92 E0/3 : IR_DT
+* EINT_11 93 E1/3 : BT_PCM_CLK
+* EINT_12 94 E2/3 : BT_PCM_DIN
+* EINT_13 95 E3/3 : BT_PCM_SYNC
+* EINT_14 96 E4/3 : BT_PCM_DOUT
+* EINT_16 98 E6/3 : USB_DRVVBUS
+* EINT_17 99 E7/3 : USB_VBUSDET
+* EINT_21 90 D22/3 : USB_ID
+* EINT_30 68 D0/3 : CTP_INT
+* EINT_31 69 D1/3 : SD_DETN
## PWM
| Pin | Mux0 | Mux1 | Mux2 | Mux3 |
| --- | ----------- | ----------- | ----------- | ----------- |
-| 125 | F GPIOF9 | F UART4_RX | F PWM_1 | F EINT31 |
-| 126 | G GPIOG0 | G RG_ERXD0 | G LCDCK_1 | G FB_AD8 |
-| 127 | G GPIOG1 | G RG_ERXD1 | G LCDDE_1 | G FB_AD9 |
-| 128 | G GPIOG2 | G RG_ERXD2 | G LCDHS_1 | G FB_AD10 |
-| 129 | G GPIOG3 | G RG_ERXD3 | G LCDVS_1 | G FB_AD11 |
-| 130 | G GPIOG4 | G RG_ETXD0 | G LCD0_1 | G FB_AD12 |
-| 131 | G GPIOG5 | G RG_ETXD1 | G LCD1_1 | G FB_AD13 |
-| 132 | G GPIOG6 | G RG_ETXD2 | G LCD2_1 | G FB_AD14 |
-| 133 | G GPIOG7 | G RG_ETXD3 | G LCD3_1 | G FB_AD15 |
-| 134 | G GPIOG8 | G RG_FB_CS0 | G LCD4_1 | G FB_AD16 |
-| 135 | G GPIOG9 | G RG_FB_CS1 | G LCD5_1 | G FB_AD17 |
-| 136 | G GPIOG10 | G RG_ERXCK | G LCD6_1 | G FB_AD18 |
-| 137 | G GPIOG11 | G RG_ERXERR | G LCD7_1 | G FB_AD19 |
-| 138 | G GPIOG12 | G RG_ERXDV | G LCD8_1 | G FB_AD20 |
-| 139 | G GPIOG13 | G RG_EMDC | G LCD9_1 | G FB_AD21 |
-| 140 | G GPIOG14 | G RG_EMDIO | G LCD10_1 | G FB_AD22 |
-| 141 | G GPIOG15 | G RG_ETXEN | G LCD11_1 | G FB_AD23 |
-| 142 | G GPIOG16 | G RG_ETXCK | G LCD12_1 | G FB_AD24 |
-| 143 | G GPIOG17 | G RG_ECRS | G LCD13_1 | G FB_AD25 |
-| 144 | G GPIOG18 | G RG_ECOL | G LCD14_1 | G FB_AD26 |
-| 145 | G GPIOG19 | G RG_ETXERR | G LCD15_1 | G FB_AD27 |
-| 146 | G GPIOG20 | G ULPI3_CK | G LCD16_1 | G FB_AD28 |
-| 147 | G GPIOG21 | G ULPI3_DIR | G LCD17_1 | G FB_AD29 |
-| 148 | G GPIOG22 | G ULPI3_STP | G LCD18_1 | G FB_AD30 |
-| 149 | G GPIOG23 | G ULPI3_NXT | G LCD19_1 | G FB_AD31 |
-| 150 | G GPIOG24 | G ULPI3_D0 | G LCD20_1 | G SD2_CMD |
-| 151 | G GPIOG25 | G ULPI3_D1 | G LCD21_1 | G SD2_CLK |
-| 152 | G GPIOG26 | G ULPI3_D2 | G LCD22_1 | G SPI3_CK |
-| 153 | G GPIOG27 | G ULPI3_D3 | G LCD23_1 | G SPI3_NSS |
-| 154 | G GPIOG28 | G ULPI3_D4 | G SD2_D0 | G SPI3_IO0 |
-| 155 | G GPIOG29 | G ULPI3_D5 | G SD2_D1 | G SPI3_IO1 |
-| 156 | G GPIOG30 | G ULPI3_D6 | G SD2_D2 | G SPI3_IO2 |
-| 157 | G GPIOG31 | G ULPI3_D7 | G SD2_D3 | G SPI3_IO3 |
+| 121 | F GPIOF_F5 | | F SD2_D3 | F EINT_7 |
+| 122 | F GPIOF_F6 | | F TWI0_SDA | F EINT_28 |
+| 123 | F GPIOF_F7 | | F TWI0_SCL | F EINT_29 |
+| 125 | F GPIOF_F9 | F UART2_RX | F PWM_1 | F EINT_31 |
+| 126 | G GPIOG_G0 | G RG_ERXD0 | G LCD1_CK | G FB_AD8 |
+| 127 | G GPIOG_G1 | G RG_ERXD1 | G LCD1_DE | G FB_AD9 |
+| 128 | G GPIOG_G2 | G RG_ERXD2 | G LCD1_HS | G FB_AD10 |
+| 129 | G GPIOG_G3 | G RG_ERXD3 | G LCD1_VS | G FB_AD11 |
+| 130 | G GPIOG_G4 | G RG_ETXD0 | G LCD1_D0 | G FB_AD12 |
+| 131 | G GPIOG_G5 | G RG_ETXD1 | G LCD1_D1 | G FB_AD13 |
+| 132 | G GPIOG_G6 | G RG_ETXD2 | G LCD1_D2 | G FB_AD14 |
+| 133 | G GPIOG_G7 | G RG_ETXD3 | G LCD1_D3 | G FB_AD15 |
+| 134 | G GPIOG_G8 | G RG_ERXCK | G LCD1_D4 | G FB_AD16 |
+| 135 | G GPIOG_G9 | G RG_ERXERR | G LCD1_D5 | G FB_AD17 |
+| 136 | G GPIOG_G10 | G RG_ERXDV | G LCD1_D6 | G FB_AD18 |
+| 137 | G GPIOG_G11 | G RG_EMDC | G LCD1_D7 | G FB_AD19 |
+| 138 | G GPIOG_G12 | G RG_EMDIO | G LCD1_D8 | G FB_AD20 |
+| 139 | G GPIOG_G13 | G RG_ETXEN | G LCD1_D9 | G FB_AD21 |
+| 140 | G GPIOG_G14 | G RG_ETXCK | G LCD1_D10 | G FB_AD22 |
+| 141 | G GPIOG_G15 | G RG_ECRS | G LCD1_D11 | G FB_AD23 |
+| 142 | G GPIOG_G16 | G RG_ECOL | G LCD1_D12 | G FB_AD24 |
+| 143 | G GPIOG_G17 | G RG_ETXERR | G LCD1_D13 | G FB_AD25 |
+| 144 | G GPIOG_G18 | | G LCD1_D14 | G FB_AD26 |
+| 145 | G GPIOG_G19 | | G LCD1_D15 | G FB_AD27 |
+| 146 | G GPIOG_G20 | G ULPI2_CK | G LCD1_D16 | G FB_AD28 |
+| 147 | G GPIOG_G21 | G ULPI2_DIR | G LCD1_D17 | G FB_AD29 |
+| 148 | G GPIOG_G22 | G ULPI2_STP | G LCD1_D18 | G FB_AD30 |
+| 149 | G GPIOG_G23 | G ULPI2_NXT | G LCD1_D19 | G FB_AD31 |
+| 150 | G GPIOG_G24 | G ULPI2_D0 | G LCD1_D20 | G SD1_CMD |
+| 151 | G GPIOG_G25 | G ULPI2_D1 | G LCD1_D21 | G SD1_CLK |
+| 152 | G GPIOG_G26 | G ULPI2_D2 | G LCD1_D22 | G QSPI_CK |
+| 153 | G GPIOG_G27 | G ULPI2_D3 | G LCD1_D23 | G QSPI_NSS |
+| 154 | G GPIOG_G28 | G ULPI2_D4 | G SD1_D0 | G QSPI_IO0 |
+| 155 | G GPIOG_G29 | G ULPI2_D5 | G SD1_D1 | G QSPI_IO1 |
+| 156 | G GPIOG_G30 | G ULPI2_D6 | G SD1_D2 | G QSPI_IO2 |
+| 157 | G GPIOG_G31 | G ULPI2_D7 | G SD1_D3 | G QSPI_IO3 |
# Reference Datasheets
datasheets and pinout links
-
* <http://datasheets.chipdb.org/AMD/8018x/80186/amd-80186.pdf>
* <http://hands.com/~lkcl/eoma/shenzen/frida/FRD144A2701.pdf>
* <http://pinouts.ru/Memory/sdcard_pinout.shtml>
* <https://www.nxp.com/docs/en/data-sheet/MCF54418.pdf>
* ULPI OTG PHY, ST <http://www.st.com/en/interfaces-and-transceivers/stulpi01a.html>
* ULPI OTG PHY, TI TUSB1210 <http://ti.com/product/TUSB1210/>
+
+# Pin Bank starting points and lengths
+
+* A 0 16
+* B 16 28
+* C 44 24
+* D 68 24
+* E 92 24
+* F 116 10
+* G 126 32