Is it necessary to configure USB ?

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Is it necessary to configure USB ?

Jump to solution
773 Views
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 Kudos
1 Solution
727 Views
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";
};

View solution in original post

0 Kudos
3 Replies
728 Views
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 Kudos
763 Views
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 Kudos
750 Views
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 Kudos