ARM: dts: dm814x: switch to use phy-gmii-sel
authorGrygorii Strashko <grygorii.strashko@ti.com>
Wed, 20 Feb 2019 15:25:15 +0000 (17:25 +0200)
committerTony Lindgren <tony@atomide.com>
Wed, 20 Feb 2019 16:14:03 +0000 (08:14 -0800)
Switch to use phy-gmii-sel PHY instead of cpsw-phy-sel.

Signed-off-by: Grygorii Strashko <grygorii.strashko@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/boot/dts/dm814x.dtsi

index 601c57a..413ae19 100644 (file)
                                        #size-cells = <1>;
                                        ranges = <0 0 0x800>;
 
+                                       phy_gmii_sel: phy-gmii-sel {
+                                               compatible = "ti,dm814-phy-gmii-sel";
+                                               reg = <0x650 0x4>;
+                                               #phy-cells = <1>;
+                                       };
+
                                        scm_clocks: clocks {
                                                #address-cells = <1>;
                                                #size-cells = <0>;
                        cpsw_emac0: slave@4a100200 {
                                /* Filled in by U-Boot */
                                mac-address = [ 00 00 00 00 00 00 ];
+                               phys = <&phy_gmii_sel 1>;
+
                        };
 
                        cpsw_emac1: slave@4a100300 {
                                /* Filled in by U-Boot */
                                mac-address = [ 00 00 00 00 00 00 ];
-                       };
-
-                       phy_sel: cpsw-phy-sel@48140650 {
-                               compatible = "ti,am3352-cpsw-phy-sel";
-                               reg= <0x48140650 0x4>;
-                               reg-names = "gmii-sel";
+                               phys = <&phy_gmii_sel 2>;
                        };
                };