Our customized had two USB ports: usb0 is otg mode and usb1 is host mode.
its setting in dts are almost same:
&dwc3_1 {
status = "okay";
};
&usb1_phy {
status = "okay";
};
&usb1 {
pinctrl-names = "default";
pinctrl-0 = <&usb1_pins_default>;
dr_mode = "host";
};
&dwc3_0 {
status = "okay";
};
&usb0_phy {
status = "okay";
};
&usb0 {
pinctrl-names = "default";
pinctrl-0 = <&usb0_pins_default>;
dr_mode = "otg";
};
USB1 works fine, but USB0 didn't work at all, when we plug a Udisk in USB0, it only display one error message:
usb usb3-port1: connect-debounce failed
and the same Udisk plug in USB1, it can works well, what's wrong with it?
thanks
Kenn