I find that tx2nx can change the host to deivce or device to host.
USB0 USB1 pin# 109 111 115 117
I mean I want to use usb0 and usb1 with device mode on tx2nx at the same time.
I find that tx2nx can change the host to deivce or device to host.
USB0 USB1 pin# 109 111 115 117
I mean I want to use usb0 and usb1 with device mode on tx2nx at the same time.
Hi,
This is not supported. Only one port can be enabled as OTG port. You would need to configure either usb0 or usb1.
Can XavierNx support this function?
It does not have any difference of this part in usb between tx2 and Xavier.
It seems to not work if I change USB1 with usb3.0 to otg.
xudc@3550000 {
status = "okay";
phys = <&{/xusb_padctl@3520000/pads/usb2/lanes/usb2-1}>;
phy-names = "usb2-1";
nvidia,boost-cpu-freq = <1200>;
};
usb_cd {
status = "disabled";
phys = <&{/xusb_padctl@3520000/pads/usb2/lanes/usb2-1}>;
phy-names = "otg-phy";
nvidia,xusb-padctl = <&xusb_padctl>;
};
xhci@3530000 {
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-1}>;
phy-names = "usb2-0", "usb2-1", "usb2-2", "usb3-1";
};
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-1 {
nvidia,function = "xusb";
status = "okay";
};
};
};
};
ports {
usb2-0 {
status = "okay";
mode = "host";
};
usb2-1 {
status = "okay";
mode = "otg";
};
usb2-2 {
status = "okay";
mode = "host";
};
usb3-1 {
nvidia,usb2-companion = <1>;
status = "okay";
};
};
OTG mode requires hardware to match so that it can work.
device mode is ok, how to fix my dts?
you can refer to the adaptation guide. Already mentioned there.
Can you show me the link?
https://developer.nvidia.com/embedded/jetson-linux-archive → l4t developer guide → search adaptation guide for TX2
The link seems to tell me how set usb2-0, but not usb2-1+usb3-1
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.