Uart use

hi,
Hardware: thor t5000
software: JP7.1
在自研板载中,UART1已经接线,现在想用手册中的UART1

但是现在在系统中如何找到对应的/dev/tty*,请问是需要在dts中打开吗? 应该如何配置,以及对应映射关系是怎么样的?


n

I don’t know the specific mapping, but if it uses the legacy driver, then it will named “/dev/ttyS*”; if it uses the Tegra High Speed driver, then it will be named “/dev/ttyTHS*” (it is possible that both drivers load and one ttyS* is the same hardware as a ttyTHS*).

Hi 1967760537,

You can refer to the following elinux page for the UART mapping on Thor.
https://elinux.org/Jetson/L4T/peripheral/#Mapping_3

Please also check the dmesg and device tree for the exact address.
For UART1, it should be serial@810c530000.