ARM: dts: keystone-k2g: Move usb-phy nodes out of soc0
authorAndrew F. Davis <afd@ti.com>
Tue, 6 Mar 2018 00:18:48 +0000 (16:18 -0800)
committerSantosh Shilimkar <santosh.shilimkar@oracle.com>
Tue, 6 Mar 2018 00:18:48 +0000 (16:18 -0800)
The two usb-phy nodes are not memory-mapped devices on the
SoC but rather dummy phys for SoCs with transparent autonomous
NOP phys. Move these to outside soc0 to their own node like
done elsewhere.

Signed-off-by: Andrew F. Davis <afd@ti.com>
Acked-by: Nishanth Menon <nm@ti.com>
Signed-off-by: Santosh Shilimkar <santosh.shilimkar@oracle.com>
arch/arm/boot/dts/keystone-k2g.dtsi

index d83dbfe..cdaf519 100644 (file)
                interrupts = <GIC_SPI 4 IRQ_TYPE_EDGE_RISING>;
        };
 
+       usbphy {
+               #address-cells = <1>;
+               #size-cells = <0>;
+               compatible = "simple-bus";
+
+               usb0_phy: usb-phy@0 {
+                       compatible = "usb-nop-xceiv";
+                       reg = <0>;
+                       status = "disabled";
+               };
+
+               usb1_phy: usb-phy@1 {
+                       compatible = "usb-nop-xceiv";
+                       reg = <1>;
+                       status = "disabled";
+               };
+       };
+
        soc0: soc@0 {
                #address-cells = <1>;
                #size-cells = <1>;
                        status = "disabled";
                };
 
-               usb0_phy: usb-phy@0 {
-                       compatible = "usb-nop-xceiv";
-                       status = "disabled";
-               };
-
                keystone_usb0: keystone-dwc3@2680000 {
                        compatible = "ti,keystone-dwc3";
                        #address-cells = <1>;
                        };
                };
 
-               usb1_phy: usb-phy@1 {
-                       compatible = "usb-nop-xceiv";
-                       status = "disabled";
-               };
-
                keystone_usb1: keystone-dwc3@2580000 {
                        compatible = "ti,keystone-dwc3";
                        #address-cells = <1>;