Hi all! I am currently trying to change the USB mode of the rear USB C port (J513) on the AGX Xavier devkit from ‘host’ to ‘device’. I have looked up which port in the device tree to change by referring to the design files (for J513 the USB2.0 is wired to port 1 and USB3.1 to port 0 via UPHY6)
I have amended the kernel/dtb/tegra194-p2888-0001-p2822-0000.dts file so it looks like this:
And recompiled by running dtc -I dts -O dtb kernel/dtb/tegra194-p2888-0001-p2822-0000.dts -o kernel/dtb/tegra194-p2888-0001-p2822-0000.dtb.
Afterwards, I updated the device tree via this method. However, the rear USB still works as before. I am a bit stuck here, my main goal is two use one port to send camera information (J513) and the other port (J512) to serve as an OTG cable connecting to a PC.
I appreciate any help that can be offered, thank you very much!
I see, so there is no way for the Jetson to be configured to have two device mode ports?
Also, if this is the case, would it make sense to change J512 from ‘otg’ to ‘device’ and leave J513 as ‘host’. The reason why I am trying to use two cables is because I can’t seem to get USB 3.0 speeds using the OTG port.