Configure USB 2.0 as slave / device


I am using i.MX 8MP Plus humming board. In that USB 1 is used as Host. However, I would like to use the USB as a device /slave. Could you please let me know what is needed to be done to configure it as slave. Please find the attachment.

Looking forward for your quick response.

Sunil H S

You just need to change the device-tree dr_mode for that USB device. Only USB1 can be used in this mode on our HummingBoard carriers as USB2 is connected to a HUB on the carrier.