AnsweredAssumed Answered

I.MX8mm Set OTG to peripheral mode

Question asked by 王 澳刚 on Apr 21, 2020
Latest reply on May 12, 2020 by 王 澳刚

I have a i.mx8m mini evk boad and I want to set otgusb1 to peripheral mode and otgusb2 to otg mode.

So I changed the dts , as result the otgusb2 could work as otg  fuction but the otgusb1 could not be  identified as usb peripheral. Following is my dts:

 

&usbotg1 {
dr_mode = "peripheral";
extcon = <0>, <&typec1_ptn5110>;
picophy,pre-emp-curr-control = <3>;
picophy,dc-vol-level-adjust = <7>;
status = "okay"; 
};

&usbotg2 {
dr_mode = "otg";
extcon = <0>, <&typec2_ptn5110>;
picophy,pre-emp-curr-control = <3>;
picophy,dc-vol-level-adjust = <7>;
status = "okay"; 
};

 

Is there anything else I ignored?Please tell me.

Thank you for any help.

Outcomes