iMX93 USB 2.0 device tree node undefined

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

iMX93 USB 2.0 device tree node undefined

102 次查看
AlanWen
Contributor II

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

标记 (5)
0 项奖励
1 回复

74 次查看
JosephAtNXP
NXP TechSupport
NXP TechSupport

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

0 项奖励