ARM: dts: lpc18xx: add usb otg phy node
authorJoachim Eastwood <manabian@gmail.com>
Thu, 30 Jul 2015 22:24:19 +0000 (00:24 +0200)
committerOlof Johansson <olof@lixom.net>
Wed, 5 Aug 2015 17:30:11 +0000 (19:30 +0200)
Add the USB OTG phy under the CREG syscon node and attach it to
the USB0 EHCI controller.

Signed-off-by: Joachim Eastwood <manabian@gmail.com>
Signed-off-by: Olof Johansson <olof@lixom.net>
arch/arm/boot/dts/lpc18xx.dtsi

index c17b82c..afd9d3b 100644 (file)
@@ -83,6 +83,8 @@
                        reg = <0x40006100 0x100>;
                        interrupts = <8>;
                        clocks = <&ccu1 CLK_CPU_USB0>;
+                       phys = <&usb0_otg_phy>;
+                       phy-names = "usb";
                        has-transaction-translator;
                        status = "disabled";
                };
                        compatible = "nxp,lpc1850-creg", "syscon", "simple-mfd";
                        reg = <0x40043000 0x1000>;
                        clocks = <&ccu1 CLK_CPU_CREG>;
+
+                       usb0_otg_phy: phy@004 {
+                               compatible = "nxp,lpc1850-usb-otg-phy";
+                               clocks = <&ccu1 CLK_USB0>;
+                               #phy-cells = <0>;
+                       };
                };
 
                cgu: clock-controller@40050000 {