Xavier nx UART port name

Hi, I’m using our custom board based on Xavier NX and I used its UART0 and UART1 port.
I want to test its function but I don’t know which dev name is mapped to which uart (like UART1 is ttyxxx)
Could you tell me the relation about them?

Thanks!

Hi 854053437,

What’s your Jetpack version in use?

Please share your dmesg and I would show you their relation.

I’m using R35.5.0 in our xavier nx custom board and here is the dmesg file
I can see three uart device in it: ttyTHS0、ttyTHS1、ttyTHS4, I’ve already know ttyTCU0 is for debug uart
Thanks for help!

dmesg.txt (56.8 KB)

[    5.836169] 3100000.serial: ttyTHS0 at MMIO 0x3100000 (irq = 31, base_baud = 0) is a TEGRA_UART
[    5.873955] 3110000.serial: ttyTHS1 at MMIO 0x3110000 (irq = 32, base_baud = 0) is a TEGRA_UART
[    5.907858] 3140000.serial: ttyTHS4 at MMIO 0x3140000 (irq = 33, base_baud = 0) is a TEGRA_UART

Please refer to the following lines for their relations.

UART0: (PX04, PX05, PX06, PX07): uartb@3110000 (serial1) → ttyTHS1
UART1: (PR02, PR03, PR04, PR05): uarta@3100000 (serial0) → ttyTHS0
UART2: (PCC05, PCC06): uartc@c280000 (serial2) → ttyTCU0

Thank you very much!