I'm using the iMX93 EVK board porting USB 2.0 device tree, the original source code is porting fort type-C.
I'd tried to post the code below in u-boot dts (imx93-11x11-evk.dts) but it doesn't work.
reg_usb0_host_vbus: regulator-usb0-vbus {
compatible = "regulator-fixed";
regulator-name = "usb0_host_vbus";
regulator-min-microvolt = <5000000>;
regulator-max-microvolt = <5000000>;
enable-active-high;
regulator-always-on;
};
Also, I tried to modify the usb node for switching to host mode as below. It seems not a correct way to port USB as host.
&usbotg1 {
dr_mode = "host";
status = "okay";
};
And then modifying the configuration in imx93-11x11_evk_defconfig.
# CONFIG_USB_TCPC is not set
CONFIG_IMX_HAB=y
How can I modify the code for USB 2.0 ?
Could you please provide a complete sample code
Thanks
Hi,
Thank you for your interest in NXP Semiconductor products,
According to Reference Manual p. 90 you should make it with dr_mode change made. Could you try to remove the config:
[*] ChipIdea device controller
Or is this issue only persistent in u-boot?
Also, is your work over an EVK or custom board? i.MX 93 processor has USB 2.0 already,
Regards