This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
|
products:sbc:vim3:applications:gpio:mainline-linux-table [2023/02/17 06:42] hyphop |
products:sbc:vim3:applications:gpio:mainline-linux-table [2023/08/18 01:36] (current) hyphop |
||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | ====== VIM3/3L GPIO table mainline | + | ====== VIM3/3L GPIO mainline |
| - | ^ GPIO num ^ Name ^ Pin ^ Pin ^ Name ^ GPIO num ^ | + | WIP: collect information |
| - | | | 5V | + | |
| - | | | 5V | + | |
| - | | | USB_DM | + | |
| - | | | USB_DP | + | |
| - | | | **GND** | + | |
| - | | | MCU3V3 | + | |
| - | | | MCUNRST | + | |
| - | | | MCUSWIM | + | |
| - | | | **GND** | + | |
| - | | | ADC0 | + | |
| - | | | 1V8 | 11 | 31 | PIN.A3 | + | |
| - | | | ADC1 | + | |
| - | | 422 | PIN.AO10 | + | |
| - | | | **GND** | + | |
| - | | XXX | PIN.H6 | + | |
| - | | XXX | PIN.H7 | + | |
| - | | | **GND** | + | |
| - | | | UART_RX / PIN.AO1 | + | |
| - | | | UART_TX / PIN.AO0 | + | |
| - | | | 3V3 | 20 | 40 | **GND** | + | |
| + | <WRAP tip > | ||
| + | We can control any GPIO from this table by **NUM** via / | ||
| + | </ | ||
| + | |||
| + | ===== Header PinOut ===== | ||
| + | |||
| + | |||
| + | ^ GPIO num ^ Name ^ Pin ^ Pin ^ Name ^ GPIO num ^ | ||
| + | | | <wrap danger> | ||
| + | | | <wrap danger> | ||
| + | | | USB_DM | ||
| + | | | USB_DP | ||
| + | | | **GND** | ||
| + | | | MCU3V3 | ||
| + | | | MCUNRST | ||
| + | | | MCUSWIM | ||
| + | | | **GND** | ||
| + | | | ADC0 | ||
| + | | | <wrap danger> | ||
| + | | | ADC1 | ||
| + | | 422 | AO_10 | 13 | 33 | A_4 | 480 | | ||
| + | | | **GND** | ||
| + | | 449 | H_6 | 15 | 35 | PWM-F | 448 | | ||
| + | | 450 | H_7 | 16 | 36 | RTC | ||
| + | | | **GND** | ||
| + | | 413 | UART AO_1 | 18 | 38 | MCU-FA1 | ||
| + | | 412 | UART AO_0 | 19 | 39 | Z_15 | XXX | | ||
| + | | | <wrap danger> | ||
| + | |||
| + | ```shell gpio-banks | ||
| + | ~# grep "" | ||
| + | / | ||
| + | / | ||
| + | / | ||
| + | / | ||
| + | / | ||
| + | / | ||
| + | / | ||
| + | / | ||
| + | / | ||
| + | ``` | ||
| ```c meson-g12a-gpio.h | ```c meson-g12a-gpio.h | ||