Jetson AGX Orin (Custom Board, L4T 36.3.0): UART4 (UARTD) and UART5 (UARTE) Not Working

Hello NVIDIA community,

We are working on a custom Jetson AGX Orin carrier board running BSP L4T 36.3.0 (JetPack 6.0+).

In our system, we have configured and enabled 4 high-speed UART ports. However, while UART1 (ttyTHS1) and UART2 (ttyTHS2) function completely fine, we are facing an issue where UART4 (ttyTHS4) and UART5 (ttyTHS5) fail to communicate (no data transmission/reception).

Below are our system logs and current device tree / pinmux configurations. We would greatly appreciate any guidance on what might be misconfigured.
uart_bug.txt (436.0 KB)
Checking pinconf-groups for the relevant UART pins shows the following state:

sudo cat /sys/kernel/debug/pinctrl/2430000.pinmux/pinconf-groups | grep uart
88 (uart2_tx_px4):  
    function=uartb
89 (uart2_rx_px5):  
    function=uartb
90 (uart2_rts_px6):  
    function=uartb
91 (uart2_cts_px7):  
    function=uartb
92 (uart5_tx_py5):  
    function=uarte
93 (uart5_rx_py6):  
    function=uarte
94 (uart5_rts_py7):  
    function=uarte
95 (uart5_cts_pz0):  
    function=uarte
120 (uart1_cts_pr5):  
    function=uarta
121 (uart1_rts_pr4):  
    function=uarta
122 (uart1_rx_pr3):  
    function=uarta
123 (uart1_tx_pr2):  
    function=uarta
125 (uart4_cts_ph6):  
    function=uartd
126 (uart4_rts_ph5):  
    function=uartd
127 (uart4_rx_ph4):  
    function=uartd
128 (uart4_tx_ph3):  
    function=uartd

Here is how uart5 and uart4 are currently defined in our device tree pinmux section:

uart5_tx_py5 {
                nvidia,pins = "uart5_tx_py5";
                nvidia,function = "uarte";
                nvidia,pull = <TEGRA_PIN_PULL_NONE>;
                nvidia,tristate = <TEGRA_PIN_DISABLE>;
                nvidia,enable-input = <TEGRA_PIN_DISABLE>;
                nvidia,lpdr = <TEGRA_PIN_DISABLE>;
            };

            uart5_rx_py6 {
                nvidia,pins = "uart5_rx_py6";
                nvidia,function = "uarte";
                nvidia,pull = <TEGRA_PIN_PULL_NONE>;
                nvidia,tristate = <TEGRA_PIN_ENABLE>;
                nvidia,enable-input = <TEGRA_PIN_ENABLE>;
                nvidia,lpdr = <TEGRA_PIN_DISABLE>;
            };

            uart5_rts_py7 {
                nvidia,pins = "uart5_rts_py7";
                nvidia,function = "uarte";
                nvidia,pull = <TEGRA_PIN_PULL_NONE>;
                nvidia,tristate = <TEGRA_PIN_DISABLE>;
                nvidia,enable-input = <TEGRA_PIN_DISABLE>;
                nvidia,lpdr = <TEGRA_PIN_DISABLE>;
            };

            uart5_cts_pz0 {
                nvidia,pins = "uart5_cts_pz0";
                nvidia,function = "uarte";
                nvidia,pull = <TEGRA_PIN_PULL_UP>;
                nvidia,tristate = <TEGRA_PIN_ENABLE>;
                nvidia,enable-input = <TEGRA_PIN_ENABLE>;
                nvidia,lpdr = <TEGRA_PIN_DISABLE>;
            };

            uart4_tx_ph3 {
                nvidia,pins = "uart4_tx_ph3";
                nvidia,function = "uartd";
                nvidia,pull = <TEGRA_PIN_PULL_NONE>;
                nvidia,tristate = <TEGRA_PIN_DISABLE>;
                nvidia,enable-input = <TEGRA_PIN_DISABLE>;
                nvidia,lpdr = <TEGRA_PIN_DISABLE>;
            };

            uart4_rx_ph4 {
                nvidia,pins = "uart4_rx_ph4";
                nvidia,function = "uartd";
                nvidia,pull = <TEGRA_PIN_PULL_NONE>;
                nvidia,tristate = <TEGRA_PIN_ENABLE>;
                nvidia,enable-input = <TEGRA_PIN_ENABLE>;
                nvidia,lpdr = <TEGRA_PIN_DISABLE>;
            };

Questions:

Are there any pinmux, device tree, or clock configurations missing that would cause ttyTHS4 and ttyTHS5 to fail while ttyTHS1 and ttyTHS2 work properly on L4T 36.3.0?

Any help or suggestions would be greatly appreciated. Thank you!

Please check the following before changing clocks or DMA settings.

  1. Disable flow control for a TX/RX-only test. If RTS/CTS is enabled while CTS is unconnected, transmission can remain blocked.

    sudo stty -F /dev/ttyTHS4 115200 raw -echo
    cs8 -parenb -cstopb -crtscts -ixon -ixoff clocal
    sudo stty -F /dev/ttyTHS4 -a

    Repeat for ttyTHS5. Also check whether another process owns either port:

    sudo fuser -v /dev/ttyTHS4 /dev/ttyTHS5

  2. Confirm the applied pinmux and GPIO configuration. The displayed function=uartd/uarte is useful, but does not establish every pad setting or GPIO ownership state. Please
    provide the generated MB1 pinmux/GPIO files and confirm that the custom board configuration references those files and that they were flashed. NVIDIA documents this process in
    the R36.3 AGX Orin adaptation guide (Jetson AGX Orin Platform Adaptation and Bring-Up — NVIDIA Jetson Linux Developer Guide 1 documentation).

  3. Run a local loopback and scope TX. Disconnect the external device and connect each port’s TX to its RX at a suitable point in the carrier circuit. Start a reader before sending
    data. Check TX at both the module-side signal and the external connector.
    • TX toggles at the module but not the connector: investigate the level shifter, enable/direction signals, or routing.
    • TX reaches RX but nothing is received: investigate RX configuration and input levels.
    • No TX transition: investigate flow control, pad/GPIO configuration, and driver operation.

Please attach the UART probe messages and test results:

sudo dmesg | grep -Ei ‘ttyTHS|3130000|3140000|serial|uart’

The current evidence does not yet establish a clock fault or an L4T UART-driver defect.