USBH2 HSIC not working

cancel
Showing results for 
Search instead for 
Did you mean: 

USBH2 HSIC not working

985 Views
arindamroy
Contributor II

Our board is based on Sabre SD board. In a revision of the board we added USB4604i Hub chip and hence we use USBH2 with HSIC interface.

We are using i.MX Dual.

The USB Hub chip is not configured by i.MX6 and it is an independent unit with no control from i.MX6.

We are using Linux 3.10.53 and our BSP is based on the reference BSP of Sabre SD board.

The following were ensured or added:

1. NVCC_RGMII is connected to 1.2V

2. IOMUXC_SW_PAD_CTL_GRP_DDR_TYPE_RGMII is set with the following in u-boot (DDR_SEL is set to 10 for 1.2V) -

          DATA 4, 0x020e0790, 0x00080000

3. A dts entry is added:

&usbh2 {

               pinctrl-names = "idle", "active";

               pinctrl-0 = <&pinctrl_usbh2_1>;

               pinctrl-1 = <&pinctrl_usbh2_2>;

               osc-clkgate-delay = <0x3>;

               status = "okay";

};

It also includes imx6qdl.dtsi which contains entry for usbh2.

However, we are unable to enumerate the USB hub chip.

usb 2-1: new high-speed USB device number 66 using ci_hdrc

usb 2-1: device no response,                                            device descriptor read/64, error -71

usb 2-1: device no response,                                            device descriptor read/64, error -71

usb 2-1: new high-speed USB device number 67 using ci_hdrc

usb 2-1: device no response,                                            device descriptor read/64, error -71

usb 2-1: device no response,                                            device descriptor read/64, error -71

usb 2-1: new high-speed USB device number 68 using ci_hdrc

usb 2-1: device not accepting address 68, error -71

usb 2-1: new high-speed USB device number 69 using ci_hdrc

usb 2-1: device not accepting address 69, error -71

hub 2-0:1.0: unable to enumerate USB device on port 1

NOTE - The same thing works when we use the SDK utility i.e. USB enumeration of the USB Hub chip happens when the SDK is used.

Are we missing something ?

Labels (4)
0 Kudos
5 Replies

212 Views
igorpadykov
NXP TechSupport
NXP TechSupport

Hi Arindam

on Sabre SD board these signals are also used by enet, so one can disable it,

it may be useful to check attached Linux Manual Chapter 45

Fast Ethernet Controller (FEC) Driver.

Best regards

igor

-----------------------------------------------------------------------------------------------------------------------

Note: If this post answers your question, please click the Correct Answer button. Thank you!

-----------------------------------------------------------------------------------------------------------------------

0 Kudos

212 Views
arindamroy
Contributor II

Hi Igor,

I am using different pads for Ethernet, so no conflict on that.

Apart from that, Is there any thing missing on the configuration as mentioned in the first post ?

Regards,

Arindam

0 Kudos

212 Views
igorpadykov
NXP TechSupport
NXP TechSupport

Hi Arindam

I think no.

Best regards

igor

0 Kudos

212 Views
arindamroy
Contributor II

Hi Igor,

I do not see any signals on the HSIC lines.

Any probable reason, even after the above mentioned configuration ( and no conflict with ENET lines ) ?

Regards,

Arindam

0 Kudos

212 Views
igorpadykov
NXP TechSupport
NXP TechSupport

Hi Arindam

one can check if USBH2 clock is enabled in CCM_CCGRn

Best regards

igor

0 Kudos