]> git.sur5r.net Git - u-boot/commitdiff
ARM: dts: sun8i: a83t: Sync usbphy node from Linux
authorJagan Teki <jagan@amarulasolutions.com>
Mon, 7 May 2018 07:33:43 +0000 (13:03 +0530)
committerJagan Teki <jagan@amarulasolutions.com>
Mon, 28 May 2018 11:10:43 +0000 (16:40 +0530)
Sync sun8i-a83t usbphy node details from Linux.

Signed-off-by: Jagan Teki <jagan@amarulasolutions.com>
Acked-by: Jun Nie <jun.nie@linaro.org>
arch/arm/dts/sun8i-a83t.dtsi

index bab6c1812b8aa6af05574745bcbe8bf1e2b7f4a4..2953e0fdac7a0ff0dc73255a1bf080186ad0fb79 100644 (file)
                        reg = <0x01c19000 0x400>;
                        interrupts = <GIC_SPI 71 IRQ_TYPE_LEVEL_HIGH>;
                        interrupt-names = "mc";
+                       phys = <&usbphy 0>;
+                       phy-names = "usb";
                        status = "disabled";
                };
 
+               usbphy: phy@1c19400 {
+                       compatible = "allwinner,sun8i-a83t-usb-phy";
+                       reg = <0x01c19400 0x10>,
+                             <0x01c1a800 0x14>,
+                             <0x01c1b800 0x14>;
+                       reg-names = "phy_ctrl",
+                                   "pmu1",
+                                   "pmu2";
+                       status = "disabled";
+                       #phy-cells = <1>;
+               };
+
                ehci0: usb@01c1a000 {
                        compatible = "allwinner,sun8i-a83t-ehci", "generic-ehci";
                        reg = <0x01c1a000 0x100>;
                        interrupts = <GIC_SPI 72 IRQ_TYPE_LEVEL_HIGH>;
+                       phys = <&usbphy 1>;
+                       phy-names = "usb";
                        status = "disabled";
                };
 
                        compatible = "allwinner,sun8i-a83t-ohci", "generic-ohci";
                        reg = <0x01c1a400 0x100>;
                        interrupts = <GIC_SPI 73 IRQ_TYPE_LEVEL_HIGH>;
+                       phys = <&usbphy 1>;
+                       phy-names = "usb";
                        status = "disabled";
                };
 
                        compatible = "allwinner,sun8i-a83t-ehci", "generic-ehci";
                        reg = <0x01c1b000 0x100>;
                        interrupts = <GIC_SPI 74 IRQ_TYPE_LEVEL_HIGH>;
+                       phys = <&usbphy 2>;
+                       phy-names = "usb";
                        status = "disabled";
                };