Custom carrier board: RTS5420 USB 3.2 Hub connected to USB2 + USBSS2 instead of USB1 + USBSS1 – required DTB/UPHY configuration on Orin NX

Hello NVIDIA Team,

I am working with a Jetson Orin NX SOM on a custom carrier board and have integrated a Realtek RTS5420-GR USB 3.2 Gen2 4-port hub.

The hub is connected to the Orin NX SOM as the upstream USB connection.

On the NVIDIA reference carrier-board configuration, the USB hub is associated with a particular USB2/USB3 port combination. However, on our custom carrier board, the PCB routing is different.

Hardware difference

On our custom carrier board, the RTS5420-GR upstream connection is routed as follows:

  • USB 2.0 D+/D− → USB2 port 2 from the Orin NX SoC

  • USB 3.x SuperSpeed TX/RX → USBSS2 from the Orin NX SoC

In other words, our custom carrier board is using the USB2/USBSS2 routing for the RTS5420-GR upstream connection, instead of the USB1/USBSS1 routing used by our current reference device-tree configuration.

The relevant part of the RTS5420-GR schematic is shown below:

Our physical PCB routing is therefore different from the USB routing assumed by the current NVIDIA/reference DT configuration.I would like to correctly configure the Jetson Linux software so that the NVIDIA USB controller recognizes this physical connection.

My understanding is that this may require changes to:

  1. xusb_padctl device tree configuration

  2. USB2/USB3 port mapping

  3. USB3-to-USB2 companion mapping

  4. phys / phy-names in the XUSB controller node

  5. UPHY lane ownership/configuration

  6. Possibly the MB1/BCT UPHY lane configuration

I would like confirmation from NVIDIA regarding the exact files/nodes that should be modified.

UPHY lane ownership/configuration
Possibly the MB1/BCT UPHY lane configuration

These two are not needed.

For the rest of items, please refer to document

Choose the version you need and check the developer guide. There would be section like below

You should trace your device tree source code and it will reveal you the location to modify.

Hello everyone,

I am integrating a Realtek RTS5420-GR USB 3.2 Gen2 hub with a custom carrier board based on the NVIDIA Jetson Orin NX, running JetPack 6.2.1.

The RTS5420 upstream USB 2.0 connection is working, and the connected devices are detected through USB 2.0. However, the upstream SuperSpeed connection is not working as expected.

I have configured usb3-2 as okay in both the USB3 lane and port nodes in the device tree. I have also verified the live device tree at runtime.

The relevant configuration is:

pads {
    usb3 {
        lanes {
            usb3-2 {
                nvidia,function = "xusb";
                status = "okay";
                #phy-cells = <0>;
            };
        };
    };
};

ports {
    usb3-2 {
        status = "okay";
        nvidia,usb2-companion = <2>;
    };
};

usb@3610000 {
    compatible = "nvidia,tegra234-xusb";
    nvidia,xusb-padctl = <&xusb_padctl>;
    status = "okay";
    phys = <&usb2-2>, <&usb3-2>;
    phy-names = "usb2-2", "usb3-2";
};

At runtime, I can see the following:

  • usb3-2 is enabled in the live device tree.

  • The XUSB host controller initializes successfully.

  • The USB 2.0 side of the hub is detected, and connected devices enumerate at 480M.

  • The USB 3.x root hub is present, but the external SuperSpeed hub does not appear in lsusb -t.

  • The current UPHY configuration read from /sys/kernel/debug/bpmp/debug/uphy/config is 0x03a00000.

My current lsusb -t output shows the USB 2.0 hub and connected devices at 480M, but no external hub on the SuperSpeed bus.

My questions are:

  1. Apart from enabling usb3-2 in the padctl lane and port nodes, and referencing usb3-2 in the XUSB host controller’s phys and phy-names, is any additional device-tree configuration required?

  2. Are there any additional UPHY, pinmux, BCT, or XUSB PHY configuration requirements for enabling SuperSpeed on USB3 port 2?

  3. Does the USB2 companion mapping (nvidia,usb2-companion = <2>) need to match any other port configuration?

  4. Are there any RTS5420-GR-specific configuration requirements, such as SPI flash configuration or hub firmware settings, that could prevent the SuperSpeed side from enumerating while USB 2.0 continues to work?

  5. What is the recommended way to debug SuperSpeed link training or PHY initialization on JetPack 6.2.1?

I would appreciate any guidance on the additional configuration or debugging steps required to bring up USB 3.0 SuperSpeed on this custom carrier board.

Thank you.

Find a USB analyzer and dump the bus trace to see what is wrong. There is no other precise way to check why USB only has USB2 speed.