cancel
Showing results for 
Search instead for 
Did you mean: 

Unable to Detect USB Hub connected to usb port 2 in stm32mp157a Processor?

Sindhu Vadde
Associate III

Hi,

We are using stm32mp157a-dk1 board. In this board USB hub is connected to usb_dm1,usb_dp1 pins of controller. It is working fine Hub is detecting and ports are also detecting in user space.

Here is my problem. We are using stm32mp157a processor in my custom board. In this board USB_DM2 USB_DP2 pins are connected to USB_HUB. So i followed the below page in st wiki

https://wiki.st.com/stm32mpu/wiki/USBPHYC_device_tree_configuration

As per above link i changed &usbh_ehci node in dts file.

&usbh_ehci {

//     phys = <&usbphyc_port0>;

       phys = <&usbphyc_port0>,<&usbphyc_port1 1>;

       phy-names = "usb";

       status = "okay";

};

But Hub is not detecting. I am for configuring Usb Port2 for usb host configuration. For this i am configuring the usb port 2 in correct way or not?

Please help us in this Regards.

1 REPLY 1
PatrickF
ST Employee

Hi @Sindhu Vadde​ 

any warning/error messages ?

Btw, seems you miss to change this line:

phy-names = "usb", "usb";

Please refer to

https://wiki.st.com/stm32mpu/wiki/USBH_device_tree_configuration#DT_configuration_when_using_the_two_physical_ports

Regards,

In order to give better visibility on the answered topics, please click on 'Select as Best' on the reply which solved your issue or answered your question. See also 'Best Answers'

In order to give better visibility on the answered topics, please click on 'Accept as Solution' on the reply which solved your issue or answered your question.