Part Number:AM5728
Hi,
The SDK version used is ti-processor-sdk-android-am57xx-evm-04.00.00.04.
About the device tree configuration is as follows:
extcon_usb1: extcon_usb1 {
compatible = "linux,extcon-usb-gpio";
ti,enable-vbus-detection;
ti,enable-id-detection;
id-gpio = <&gpio7 25 GPIO_ACTIVE_HIGH>;
vbus-gpio = <&gpio2 2 GPIO_ACTIVE_HIGH>;
};
&omap_dwc3_1 {
extcon = <&extcon_usb1>;
};
&usb1 {
maximum-speed = "super-speed";
dr_mode = "otg";
};
&usb2 {
/*
* Stand alone usage is peripheral only.
* However, with some resistor modifications
* this port can be used via expansion connectors
* as "host" or "dual-role". If so, provide
* the necessary dr_mode override in the expansion
* board's DT.
*/
dr_mode = "host";
};
The same configuration can be used normally in Yocto filesystem.
Is there any problem with this configuration? Device tree needs to be changed, what else need to be changed?