Agx orin use jetson36.4.3 usb hub not work

Similar to the design of the AGX Orin kit, we used the USB hub chip RTS5420-GR to implement two USB 2.0 ports (USB3.0), but the two USB ports did not work. The specific design is as follows:
1、schematic design



2、log and dts


image
image
dmesg.log (209.0 KB)
dts.log (819.0 KB)
Please assist in analyzing the problem.

If it is a device tree configuration issue, how can it be configured? It’s a modification i2c@c240000 and xusb_padctl@3520000 Are these two nodes?

I refer to operation Jetpack 6.1 and USB on Custom Board - #10 by nzamani and currently can achieve USB functionality, but I do not understand the working principle of AGX Orin’s USB, XUDC@355000 The XHCI@3610000 The Xusb_padctl@3520000 、 What are the different types of typec? Which USB controller is USB 2.0 or USB 3.0 related to in our schematic?

If RTS5420-GR is suspended i2c@C240000 Why can’t I scan through the “i2cdetect - y 1” command under the node?

You need to disable everything that is not in use on your board from the device tree related to USB.

For example, if typeC from Cypress PD controller is not in use, then you need to remove them.

Jetpack6/kernel5.15 will check these dependency. If any of them do not exist there, it will stop the drover probing.

So actually your usb driver is not up at all. Without driver, hub would not work for sure.

I agree with this.
The flash of the hub (RTS5420-GR) burned firmware, and the i2c interface may not be in use at this time, so the “i2ctest - y 1” command cannot find any i2c slave devices.
If the hub (RTS5420-GR) does not load programs from flash, I believe Orin needs to configure the hub through I2C.


Cypress PD controller is in use, and we are analyzing why i2c@c240000 Remove nodes typec@8 Why is the post hub controller working properly?

不確定用中文解釋會不會對你比較清楚一點.

前面已經提過了, jetpack6之後kernel driver對於device tree會去檢查dependency. 如果有任何東西在driver準備probe的時候是不存在的, 那麼driver就不會被用上.

如果你今天把 typec@8 移除之後你的usb hub能動了, 那代表說之前有某些node因為typec@8上面有東西是不存在的而影響usb driver的probe.

这个观点表示同意

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.