ARM: dts: stm32: enable USB Host EHCI on stm32mp135f-dk
authorAmelie Delaunay <amelie.delaunay@foss.st.com>
Fri, 14 Oct 2022 14:15:06 +0000 (16:15 +0200)
committerAlexandre Torgue <alexandre.torgue@foss.st.com>
Mon, 24 Oct 2022 09:54:05 +0000 (11:54 +0200)
USBH Host EHCI controller manages the USB High-Speed hub controller IC
offering Type-A CN5 & CN6 connectors available on stm32mp135f-dk.
USB Host OHCI controller doesn't need to be enabled as Full-Speed and
Low-Speed traffic will be managed by the hub.
This USB2514B onboard hub is supplied by a 3v3 PMIC regulator.

Signed-off-by: Amelie Delaunay <amelie.delaunay@foss.st.com>
Signed-off-by: Fabrice Gasnier <fabrice.gasnier@foss.st.com>
Signed-off-by: Alexandre Torgue <alexandre.torgue@foss.st.com>
arch/arm/boot/dts/stm32mp135f-dk.dts

index ae65bad..364d2c8 100644 (file)
        status = "okay";
 };
 
+&usbh_ehci {
+       phys = <&usbphyc_port0>;
+       status = "okay";
+       #address-cells = <1>;
+       #size-cells = <0>;
+       /* onboard HUB */
+       hub@1 {
+               compatible = "usb424,2514";
+               reg = <1>;
+               vdd-supply = <&v3v3_sw>;
+       };
+};
+
 &usbphyc {
        status = "okay";
 };