We have a customize L4T 35.5.0 ( agx xavier industrial) carrier board.
After comparing the schematics and device tree source (DTS) files from the AGX Xavier Industrial with those from our custom carrier board, we confirmed that the pin configurations and port numbers match.
Since the USB port numbers are identical, we did not make any changes to the related code.
Pin Mapping:
USB0 (OTG)
USB3 port2 (C22, C23, G22, G23)
Companion USB2 port0 (F13, F12)
Explanation of OTG:
OTG (On-The-Go) is a specification that allows a USB port to function both as a host and a device. An OTG port can switch between these roles as needed.
Issue:
Given the OTG specification allows a USB port to act as both host and device, why are my keyboard, mouse, and USB storage devices not functioning when plugged into the OTG port?
I am not sure what does your “match” mean here.
After comparing the schematics and device tree source (DTS) files from the AGX Xavier Industrial with those from our custom carrier board, we confirmed that the pin configurations and port numbers match.
The default device tree is using Cypress PD controller for type C solution. The usb port number are just part of things to compare. I mean comparing usb port number mapping is just part of work.
I don’t know whether you are using Cypress PD there as you didn’t mention. If such thing does not exist, then you need to share how did you design your OTG port.
Does Cypress PD refer to this IC → CYPD4226-40LQXIT?
Because there is this IC in the schematics of the AGX Xavier Industrial?
But our customize carrier board does not.
Does this IC affect the OTG function?