[Linux-stm32] [PATCH 3/5] ARM: dts: stm32: enable USB Host (USBH) EHCI controller on stm32mp157a-dk1

Amelie Delaunay amelie.delaunay at st.com
Thu Nov 21 16:12:45 UTC 2019


This patch enables USB Host (USBH) EHCI controller on stm32mp157a-dk1.
As a hub is used between USBH and USB connectors, no need to enable
USBH OHCI controller: all low- and full-speed traffic is managed by the
hub.

Signed-off-by: Amelie Delaunay <amelie.delaunay at st.com>
---
 arch/arm/boot/dts/stm32mp157a-dk1.dts | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/arch/arm/boot/dts/stm32mp157a-dk1.dts b/arch/arm/boot/dts/stm32mp157a-dk1.dts
index 2914109db26d..7603f9456d56 100644
--- a/arch/arm/boot/dts/stm32mp157a-dk1.dts
+++ b/arch/arm/boot/dts/stm32mp157a-dk1.dts
@@ -605,6 +605,11 @@
 	status = "okay";
 };
 
+&usbh_ehci {
+	phys = <&usbphyc_port0>;
+	status = "okay";
+};
+
 &usbphyc {
 	status = "okay";
 };
-- 
2.17.1




More information about the Linux-stm32 mailing list