About usb2.0,usb3.0

i have a jetson origin nano board,and have two usb port
One USB is 2.0 and the other is 3.0, but the hardware status is the same
This is the print upon detection
[ 612.162105] usb 1-3.3: USB disconnect, device number 6
[ 612.463677] tegra-xusb 3610000.xhci: entering ELPG done
[ 613.828692] tegra-xusb 3610000.xhci: Firmware timestamp: 2023-02-10 03:48:10 UTC, Version: 80.05 release
[ 614.260498] usb 1-3.3: new high-speed USB device number 7 using tegra-xusb
[ 614.372330] usb 1-3.3: New USB device found, idVendor=0781, idProduct=5567, bcdDevice= 1.00
[ 614.372339] usb 1-3.3: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 614.372346] usb 1-3.3: Product: SanDisk 3.2Gen1
[ 614.372351] usb 1-3.3: Manufacturer: USB
[ 614.372355] usb 1-3.3: SerialNumber: 0401bfc2d9f76d45866533510fe9d4d92dd24c646ddc8eca4e62c5c4d9d013dfceb2000000000000000000003277ab1900827d18675581077daf10c9
[ 614.374056] usb-storage 1-3.3:1.0: USB Mass Storage device detected
[ 614.374412] scsi host0: usb-storage 1-3.3:1.0

[ 630.983406] usb 1-3.3: USB disconnect, device number 7
[ 631.254493] tegra-xusb 3610000.xhci: entering ELPG done
[ 632.723444] tegra-xusb 3610000.xhci: Firmware timestamp: 2023-02-10 03:48:10 UTC, Version: 80.05 release
[ 632.987733] usb 2-1: new SuperSpeed Gen 1 USB device number 3 using tegra-xusb
[ 633.018213] usb 2-1: New USB device found, idVendor=0781, idProduct=5567, bcdDevice= 1.00
[ 633.018223] usb 2-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 633.018230] usb 2-1: Product: SanDisk 3.2Gen1
[ 633.018236] usb 2-1: Manufacturer: USB
[ 633.018242] usb 2-1: SerialNumber: 0401bfc2d9f76d45866533510fe9d4d92dd24c646ddc8eca4e62c5c4d9d013dfceb2000000000000000000003277ab1900827d18675581077daf10c9
[ 633.021982] usb-storage 2-1:1.0: USB Mass Storage device detected
[ 633.022520] scsi host0: usb-storage 2-1:1.0
[ 634.041785] scsi 0:0:0:0: Direct-Access USB SanDisk 3.2Gen1 1.00 PQ: 0 ANSI: 6
[ 634.053271] sd 0:0:0:0: [sda] 60088320 512-byte logical blocks: (30.8 GB/28.7 GiB)
[ 634.061900] sd 0:0:0:0: [sda] Write Protect is off
[ 634.066882] sd 0:0:0:0: [sda] Mode Sense: 43 00 00 00
[ 634.067555] sd 0:0:0:0: [sda] Write cache: disabled, read cache: enabled, doesn’t support DPO or FUA
[ 634.109592] sda: sda1
[ 634.111764] sd 0:0:0:0: [sda] Attached SCSI removable disk

How can I make that usb1-3.3 also become 3.0

Jetpack版本?

custom board? NV devkit?

如果是custom board的話 usb部份的線路圖能否提供? usb device tree有沒有照著線路圖改過?

这是连接器


这是信号部分


2.0的口子源头是这里

usb device tree有沒有照著線路圖改過?

没有改过,不知道他对应的 usb 1-3.3是什么
xusb_padctl: xusb_padctl@3520000 {
status = “okay”;
pads {
usb2 {
lanes {
usb2-0 {
nvidia,function = “xusb”;
status = “okay”;
};
usb2-1 {
nvidia,function = “xusb”;
status = “okay”;
};
usb2-2 {
nvidia,function = “xusb”;
status = “okay”;
};
};
};
usb3 {
lanes {
usb3-0 {
nvidia,function = “xusb”;
status = “okay”;
};
usb3-1 {
nvidia,function = “xusb”;
status = “okay”;
};
};
};
};

	ports {
		usb2-0 {/* Goes to recovery port */
			mode = "otg";
			status = "okay";
			vbus-supply = <&p3768_vdd_5v_sys>;
			usb-role-switch;
			port {
				typec_p0: endpoint {
					remote-endpoint = <&fusb_p0>;
				};
			};
		};
		usb2-1 {/* Goes to hub */
			mode = "host";
			vbus-supply = <&p3768_vdd_av10_hub>;
			status = "okay";
		};
		usb2-2 {/* Goes to M2.E */
			mode = "host";
			vbus-supply = <&p3768_vdd_5v_sys>;
			status = "okay";
		};
		usb3-0 {/* Goes to hub */
			nvidia,usb2-companion = <1>;
			status = "okay";
		};
		usb3-1 {/* Goes to J5 */
			nvidia,usb2-companion = <0>;
			status = "okay";
		};
	};
};

tegra_xudc: xudc@3550000 {
	status = "okay";
	phys = <&{/xusb_padctl@3520000/pads/usb2/lanes/usb2-0}>,
		<&{/xusb_padctl@3520000/pads/usb3/lanes/usb3-1}>;
	phy-names = "usb2-0", "usb3-1";
	nvidia,xusb-padctl = <&xusb_padctl>;
};

tegra_xhci: xhci@3610000 {
	status = "okay";
	phys = <&{/xusb_padctl@3520000/pads/usb2/lanes/usb2-0}>,
		<&{/xusb_padctl@3520000/pads/usb2/lanes/usb2-1}>,
		<&{/xusb_padctl@3520000/pads/usb2/lanes/usb2-2}>,
		<&{/xusb_padctl@3520000/pads/usb3/lanes/usb3-0}>,
		<&{/xusb_padctl@3520000/pads/usb3/lanes/usb3-1}>;
	phy-names = "usb2-0", "usb2-1", "usb2-2", "usb3-0", "usb3-1";
	nvidia,xusb-padctl = <&xusb_padctl>;
};,

請參考文件

https://docs.nvidia.com/jetson/archives/r35.5.0/DeveloperGuide/HR/JetsonModuleAdaptationAndBringUp/JetsonAgxOrinSeries.html?highlight=universal#porting-the-universal-serial-bus

我不是很懂怎么修改,您能提供一点帮助吗

  1. 說實話你給的線路圖我們放大之後發現有點模糊. 有些訊息看來也沒有提供, 比方說你們connector端的USBSS又是從哪幾個地方接過來的?
    能否請你也口頭敘述一下你們現在的device 接法 然後是哪個port有問題?

  2. 没有改过,不知道他对应的 usb 1-3.3是什么

不太確定你這句話的意義是什麼, 哪一個usb port現在接著哪一個device應該是你現場可以自己判斷的. 如果連你都判斷不了, 我們這些外人也不會知道.

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