Is it necessary to configure USB ?

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

Is it necessary to configure USB ?

跳至解决方案
1,554 次查看
okwaj
Contributor III

Hi All,

I have 2 USB connected to my iMX6.

The first one is connected to CPU_USB2_D_N and CPU_USB2_D_P pins.
The second one is connected to USB_OTG1_DN and USB_OTG1_DP.

In the reference guide, it is said that the interface are natives.

Does it means that I have nothing to put inside the dtsi file to configure them ?

0 项奖励
回复
1 解答
1,508 次查看
okwaj
Contributor III

Just had to do :

&usbotg1 {
dr_mode = "host";
disable-over-current;
status = "okay";
};

&usbotg2 {
dr_mode = "host";
disable-over-current;
status = "okay";
};

在原帖中查看解决方案

0 项奖励
回复
3 回复数
1,509 次查看
okwaj
Contributor III

Just had to do :

&usbotg1 {
dr_mode = "host";
disable-over-current;
status = "okay";
};

&usbotg2 {
dr_mode = "host";
disable-over-current;
status = "okay";
};

0 项奖励
回复
1,544 次查看
Bio_TICFSL
NXP TechSupport
NXP TechSupport

Hello Okwaj,

 

If you are using a dtb from Sabre board you don´t need because is there. but if you are on a custom board you have to take a look at the IOMUX that affects that USB, if there is none you don´t need it.

Regards

0 项奖励
回复
1,531 次查看
okwaj
Contributor III

I am using a compulab imx6ul and it doesn't seem to work without configuration.

My 2 USB are plugged to pin 170/172 and 176/178 but I don't understand how to configure them in the dtsi file.

0 项奖励
回复