You may remove nvidia,oc-pin if you don’t use it, and set vbus-supply, nvidia,usb2-componion. For a USB3 type A, it has two pin USB2, four pin USB3, and a VBUS pin.
Enumeration issues are seen if VBUS is turned on too early. You may also check this.
I do configured the ports, not pasted here. The usb3-1 port configuration is just same as you posted.
usb3-1 pin assignment on our custome board are same as official tx2.
I commented out overlays in plugin manager dts file and xhci settings in c03 base dts, also set odmdata to 0x2090000, now I don’t see error message of usb at kernel booting, but usb3-1 seems still not working:
nv@tegra-ubuntu:~$ lsusb
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
nv@tegra-ubuntu:~$
ls /sys/firmware/devicetree/base/chosen/plugin-manager/odm-dat
android-build enable-denver-wdt enable-xusb-on-uphy-lane1
disable-pmic-wdt enable-pcie-on-uphy-lane0 name
disable-sdmmc-hwcq enable-pcie-on-uphy-lane2 no-battery
disable-tegra-wdt enable-pcie-on-uphy-lane4 normal-flashed
enable-debug-console enable-sata-on-uphy-lane5
nv@tegra-ubuntu:~$
not sure what else should configure to make it work
Hi,
The device tree shows usb3-1(PEX_RFU, G39 G40 D39 D40) is configured to ‘enable-xusb-on-uphy-lane1’. And usb3-1 and usb2-1 is a type A port. VBUS pin is A18.
If above meets your hardware design, the device tree looks good. Are you able to try other USB3 devices such as USB3 pendrive?
Or maybe re-work VBUS pin out, connect to a power supply and try to turn it on/off to check if enumeration happens.
usb3-1 pin is not matching, thanks for you point that, we are using lane #2 (G43, G42, D43, D42).
I modified odmdata to 0x4090000, and I see ‘enable-xusb-on-uphy-lane2’, no change in device tree, but still not able to detect usb pendrive or mouse.
How can I solve this problem? The random event reports an error and the “Please complete system configuration setup on / dev / ttyGS0 to proceed …” problem?