I am working on a custom carrier board for the TX2 NX. I am using USB0 to flash the device and was wondering if it could also work in host-mode. As far as I understand, the device is always in device-mode, when the Jetson is in recovery mode. In regular mode, I would like it to be either in host mode or work as an otg device.
For the first case, would it be sufficient to connect 1v8 to USB0_VBUS or do I need to modify the device tree as well? I noticed that I will have to change the pinmux to change GPIO00 from a regular GPIO to USB_VBUS_EN0, but as it involves a complete reflash, I wanted to confirm first.
For OTG, should I follow the procedure from here and adapt to the TX2 NX where necessary?
I would start by implementing whichever one is easier first.
Please note that I am using a manual jumper to set USB0_VBUS
The device tree in this post is a valid example for OTG port. Please refer to it and apply it to the device tree for your custom board. For detail of device tree programming, please check adaptation guide