ARM: dts: stm32: add USBPHYC support to stm32mp157c
authorAmelie Delaunay <amelie.delaunay@st.com>
Tue, 24 Apr 2018 09:41:00 +0000 (11:41 +0200)
committerAlexandre Torgue <alexandre.torgue@st.com>
Fri, 4 May 2018 07:45:45 +0000 (09:45 +0200)
Add support for USBPHYC (USB PHY Controller) to STM32MP157C SoC.
It manages two usb2 ports.

Signed-off-by: Amelie Delaunay <amelie.delaunay@st.com>
Signed-off-by: Alexandre Torgue <alexandre.torgue@st.com>
arch/arm/boot/dts/stm32mp157c.dtsi

index 8b3c27c112cca358e89b376df4a9a7088ac9372c..319788cd78a0e383c893337308ec7ae1e859c4a4 100644 (file)
                        status = "disabled";
                };
 
+               usbphyc: usbphyc@5a006000 {
+                       #address-cells = <1>;
+                       #size-cells = <0>;
+                       compatible = "st,stm32mp1-usbphyc";
+                       reg = <0x5a006000 0x1000>;
+                       clocks = <&rcc USBPHY_K>;
+                       resets = <&rcc USBPHY_R>;
+                       status = "disabled";
+
+                       usbphyc_port0: usb-phy@0 {
+                               #phy-cells = <0>;
+                               reg = <0>;
+                       };
+
+                       usbphyc_port1: usb-phy@1 {
+                               #phy-cells = <1>;
+                               reg = <1>;
+                       };
+               };
+
                usart1: serial@5c000000 {
                        compatible = "st,stm32h7-uart";
                        reg = <0x5c000000 0x400>;