2022-12-24 04:38 AM
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.
2023-01-03 09:21 AM
Hi @Sindhu Vadde
any warning/error messages ?
Btw, seems you miss to change this line:
phy-names = "usb", "usb";
Please refer to
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'