How do I convert the USB on the Go to just plain USB for the 5722

Our HW Engineers have routed all of the pins for the USB OTG to other pins, I am trying to modify the DTS to allow the USB OTG to just be a host and use those pins for other things.

1 Like

Hi~

Do you mean to config to USB OTG to the host mode?
Below is document for the USB OTG:
https://www.kernel.org/doc/Documentation/devicetree/bindings/usb/generic.txt

The default setting of the USB OTG in ROM-5722 device tree is config to “otg”
linux-imx/arch/arm64/boot/dts/freescale/imx8mp-rom5722-a1.dts at adv_5.4.70_2.3.0 · ADVANTECH-Corp/linux-imx (github.com)
image

So,

  1. It can connect a USB OTG cable that will grounded the USB_OTG_ID and the USB will operate as a host mode.

  2. Reference the document at the above link to set the dr_mode from “otg” to “host” in ROM-5722 device tree.

1 Like