usb3.0使用USBSS1和USBSS2只能link在usb2.0

Hi 我尝试使用orin nx + jetpack6.2来配置usb3.0,使用USBSS0可以正确枚举usb3.0设备
但是使用USBSS1和USBSS2却只能枚举出来usb2.0的设备,按照官网doc的步骤,尝试在MB1里以及kernel dtsi里配置phy的lane,发现没有效果。
如下是我的overlay的设备树:
&xusb_padctl {
status = “okay”;

pads {
	usb2 {
		lanes {
			/* 若第三个 SuperSpeed 口需 usb2-3,取消注释 */
			usb2-3 {
				nvidia,function = "xusb";
				status = "okay";
			};
		};
	};

	usb3 {
		lanes {
			usb3-1 {
				nvidia,function = "xusb";
				status = "okay";
			};

			/* USBSS2:DP0_TXD2/3 引脚,若有走线则启用 */
			usb3-2 {
				nvidia,function = "xusb";
				status = "okay";
			};
		};
	};
};

ports {
	/* usb3-2 的 companion,必须有此节点否则 "no companion port found for USB3 lane 2" */
	usb2-3 {
		mode = "host";
		vbus-supply = <&vdd_5v0_sys>;
		status = "okay";
	};

	usb3-1 {
		nvidia,usb2-companion = <0>;
		status = "okay";
	};

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

};

&{/bus@0/usb@3610000} {
/*
* 必须显式引用 usb3-1 和 usb3-2,否则只走 USB 2.0
* 若不需要 usb3-2,可去掉对应 phys 和 phy-names 中的 usb3-2
*/
phys = <&{/bus@0/padctl@3520000/pads/usb2/lanes/usb2-0}>,
<&{/bus@0/padctl@3520000/pads/usb2/lanes/usb2-1}>,
<&{/bus@0/padctl@3520000/pads/usb2/lanes/usb2-2}>,
<&{/bus@0/padctl@3520000/pads/usb2/lanes/usb2-3}>,
<&{/bus@0/padctl@3520000/pads/usb3/lanes/usb3-0}>,
<&{/bus@0/padctl@3520000/pads/usb3/lanes/usb3-1}>,
<&{/bus@0/padctl@3520000/pads/usb3/lanes/usb3-2}>;
phy-names = “usb2-0”, “usb2-1”, “usb2-2”, “usb2-3”,
“usb3-0”, “usb3-1”, “usb3-2”;
};

在MB1里配置后生成的pinmux.dtsi,里面没有找到关于USBSS1和USBSS2的内容,现在使用的是:
PINMUX_CONFIG=“tegra234-mb1-bct-pinmux-p3767-dp-a03.dtsi”;
PMC_CONFIG=“tegra234-mb1-bct-padvoltage-p3767-dp-a03.dtsi”;

想问一下我应该如何配置来确认USBSS1和USBSS2的正确配置,从而正确配置usb3.0?

Basically you need to share the information of how you design these two ports first.

Posting a DT alone does not help.

*** Please note that this reply is generated by LLM automatically ***

Based on the provided context, it appears that you are asking about the USB configuration on the Jetson Orin NX module. Specifically, you are looking at the USB configuration in the device tree (dtsi) files and the pinmux configuration.

The provided text shows the USB configuration for the Jetson Orin NX module, which includes:

  • USB 3.0 ports (usb30, usb31, usb32)
  • USB 2.0 ports (usb20, usb21, usb22, usb23)
  • USB SS (SuperSpeed) ports (USBSS1, USBSS2)

The text also shows the pinmux configuration for the USB ports, which defines how the USB signals are connected to the pins on the module.

To answer your question, it appears that the Jetson Orin NX module has a total of 7 USB ports:

  • 3 USB 3.0 ports (usb30, usb31, usb32)
  • 4 USB 2.0 ports (usb20, usb21, usb22, usb23)

The USB SS ports (USBSS1, USBSS2) are likely used for USB 3.0 signals, but the exact configuration depends on the specific device tree and pinmux configuration.

In comparison to other Jetson modules, the Jetson Orin NX module has a similar USB configuration to the Jetson AGX Orin module, but with some differences in the pinmux configuration.

Here is a summary of the USB configuration for different Jetson modules:

  • Jetson Orin NX:
    • 3 USB 3.0 ports (usb30, usb31, usb32)
    • 4 USB 2.0 ports (usb20, usb21, usb22, usb23)
  • Jetson AGX Orin:
    • 3 USB 3.0 ports (usb30, usb31, usb32)
    • 4 USB 2.0 ports (usb20, usb21, usb22, usb23)
  • Jetson Xavier NX:
    • 2 USB 3.0 ports (usb30, usb31)
    • 2 USB 2.0 ports (usb20, usb21)

Note that the exact USB configuration may vary depending on the specific module and device tree configuration.

*** Please give the thumbs up if you get answers you like. Or provide feedback to help us improve the answer. ***

抱歉,我描述一下,我的两路usb接到了usb2.0的hub下,其中DP3和DM3这一路与usbss0可以正常工作在usb3.0下,目前DP4和DM4与图上usbss1没有办法工作在3.0下,只能工作在usb2.0下。

我描述一下,我的两路usb接到了usb2.0的hub下,其中DP3和DM3这一路与usbss0可以正常工作在usb3.0下,目前DP4和DM4与图上usbss1没有办法工作在3.0下,只能工作在usb2.0下。

不是很懂這一段的意思. 所以USBSS1搭配的USB2信號從哪來的?

是这样的,USB2上接了个HUB,下面有两个USB2.0的口,其中一路(DP3和DM3)搭配USBSS0可以正常link在usb3.0
USBSS1搭配的USB2信号,是从同一个hub上来的,下挂的第二个USB2的口(DP4和DM4)。

這個設計是沒辦法支援的. 請更改

而且你從hub downstream接出來的usb信號並沒有辦法寫在device tree裡面.
Device tree裡面 "nvidia,usb2-companion"寫的是實際SOM上接出來的. 並不是hub後面接出來的信號.

好的,我们了解了,感谢。

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