| 29 | | ||= Board =||= Connector^^^1^^^ =||= Primary Function^^^2^^^ =||= IMX8M_PAD =||= U-Boot^^^3^^^ =||= Linux^^^4^^^ =||= Notes || |
| 30 | | || GW920x || J19.1 || DIO0 || GPIO[3]:DIO[26] || GPIO[3]:DIO[26] || dio0 || || |
| 31 | | || || J19.2 || DIO1 || GPIO[3]:DIO[27] || GPIO[3]:DIO[27] || dio1 || || |
| 32 | | |
| | 29 | ||= Board =||= Connector^^^1^^^ =||= Primary Function^^^2^^^ =||= IMX8M_PAD =||= Pinmux^^^3^^^ =||= U-Boot^^^4^^^ =||= Linux^^^5^^^ =||= Notes || |
| | 30 | || GW920x || J19.1 || DIO0 || CCM_CLKO1__GPIO3_IO_BIT26 || GPIO3_IO_BIT26 || dio0.gpio-hog || dio0 || || |
| | 31 | || || J19.2 || DIO1 || CCM_CLKO2__GPIO3_IO_BIT27 || GPIO3_IO_BIT27 || dio1.gpio-hog || dio1 || || |
| | 32 | || || J19.3 || RXD || GPIO_IO13__LPUART8_RX || LPUART8_RX || || || ttyLP7 || |
| | 33 | || || J19.4 || TXD || GPIO_IO12__LPUART8_TX || LPUART8_TX || || || ttyLP7 || |
| | 34 | || || J19.5 || SCL || N/A || N/A || || || i2c@7 || |
| | 35 | || || J19.6 || SDA || N/A || N/A || || || i2c@7 || |
| | 36 | || || J19.7 || ADC_IN0 || ADC_IN0 || N/A || || || || |
| | 37 | || || J19.8 || ADC_IN1 || ADC_IN1 || N/A || || || || |
| 35 | | 3. This is the bank_pin name that can be used in U-Boot (see [wiki:gpio#uboot here]) |
| 36 | | 4. This is the name provided to Linux via gpio-line-names in the device-tree (see [wiki:gpio#gpiolib here]) |
| 37 | | 5. Any of the above pin function assignments can be altered by changing the device-tree to change the pinmux which is also where you can specify drive strength, pull-up, pull-down etc. Read more about gaining more GPIOs via pinmuxing [https://trac.gateworks.com/wiki/linux/devicetree#Venice here] |
| | 40 | 3. This is how it is pinmuxed |
| | 41 | 4. This is the dio name in U-Boot (see [wiki:gpio#uboot here]) |
| | 42 | 5. This is the dio name in Linux (via gpio-line-names) in the device-tree (see [wiki:gpio#gpiolib here]) |
| | 43 | 6. Any of the above pin function assignments can be altered by changing the device-tree to change the pinmux which is also where you can specify drive strength, pull-up, pull-down etc. Read more about gaining more GPIOs via pinmuxing [https://trac.gateworks.com/wiki/linux/devicetree#Venice here] |