Forum Discussion
sunyeong
New Contributor
1 year agoHow to configure device tree and defconfig for using USB device?
Hi, I'm using an Agilex 5E Premium Development kit board. I'm trying to communicate with my PC via USB, and I'm planning to use this device as a device(gadget). Can you tell me how to configure de...
Jeet14
Frequent Contributor
1 year agoHi,
Please refer the device tree changes for Agilex-5 and for USB.
Regards
Tiwari
sunyeong
New Contributor
1 year agoHi, Jeet14.
Thanks for comment.
As I know, some configuration needs for using Gadget Serial feature like below url.
https://www.rocketboards.org/foswiki/Documentation/REFLEXCESAchillesArria10SoCSOM
Can I use the usb-gadget.cfg mentioned in this document as Agilex5 kernel configuration?
In device tree, the "dr_mode" property in usb node have to be added as I know.
This property can be configured as "peripheral", "otg", or "host".
Which value shoud I use?
Regards,
Jung.