This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
products:sbc:common:applications:gpio:uart [2023/10/18 03:45] jacobe [Demo Source Code] |
products:sbc:common:applications:gpio:uart [2023/11/07 05:09] (current) nick [Enable UART] |
||
---|---|---|---|
Line 7: | Line 7: | ||
===== UART Information ===== | ===== UART Information ===== | ||
- | | | + | | |
- | ^ VIM1/ | + | ^ VIM1/ |
- | | ::: | ::: | + | | ::: | ::: |
- | ^ VIM3/ | + | ^ VIM3/ |
- | | ::: | ::: | + | | ::: | ::: |
- | ^ VIM4 | + | ^ VIM4 |
- | | ::: | ::: | + | | ::: | ::: |
- | ^ VIM1S | UART_C | + | ^ VIM1S | UART_C |
- | | ::: | ::: | + | | ::: | ::: |
===== Enable UART ===== | ===== Enable UART ===== | ||
Line 28: | Line 28: | ||
```shell | ```shell | ||
overlays=pwm_ao_a pwm_f uart3 | overlays=pwm_ao_a pwm_f uart3 | ||
+ | ``` | ||
+ | |||
+ | After reboot, you will see the UART device node. | ||
+ | |||
+ | ```shell | ||
+ | $ ls /dev/ttyS3 | ||
+ | /dev/ttyS3 | ||
+ | ``` | ||
+ | |||
+ | <tabbox VIM3 with 5.15 kernel> | ||
+ | |||
+ | Edit ''/ | ||
+ | |||
+ | |||
+ | e.g. Enable '' | ||
+ | |||
+ | ```shell | ||
+ | fdt_overlays=uart3 | ||
+ | |||
+ | ``` | ||
+ | |||
+ | After reboot, you will see the UART device node. | ||
+ | |||
+ | ```shell | ||
+ | $ ls /dev/ttyS3 | ||
+ | /dev/ttyS3 | ||
+ | ``` | ||
+ | |||
+ | <tabbox VIM3L with 5.15 kernel> | ||
+ | |||
+ | Edit ''/ | ||
+ | |||
+ | |||
+ | e.g. Enable '' | ||
+ | |||
+ | ```shell | ||
+ | fdt_overlays=uart3 | ||
+ | |||
``` | ``` | ||