Is it necessary to configure USB ?

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Is it necessary to configure USB ?

ソリューションへジャンプ
1,568件の閲覧回数
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,522件の閲覧回数
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,523件の閲覧回数
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,558件の閲覧回数
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,545件の閲覧回数
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 件の賞賛
返信