ARM: dts: am335x: switch to use phy-gmii-sel
authorGrygorii Strashko <grygorii.strashko@ti.com>
Wed, 20 Feb 2019 15:25:17 +0000 (17:25 +0200)
committerTony Lindgren <tony@atomide.com>
Wed, 20 Feb 2019 16:14:04 +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/am335x-baltos-ir2110.dts
arch/arm/boot/dts/am335x-baltos-ir3220.dts
arch/arm/boot/dts/am335x-baltos-ir5221.dts
arch/arm/boot/dts/am335x-chiliboard.dts
arch/arm/boot/dts/am335x-icev2.dts
arch/arm/boot/dts/am335x-igep0033.dtsi
arch/arm/boot/dts/am335x-lxm.dts
arch/arm/boot/dts/am335x-moxa-uc-2100-common.dtsi
arch/arm/boot/dts/am335x-moxa-uc-8100-me-t.dts
arch/arm/boot/dts/am335x-phycore-som.dtsi
arch/arm/boot/dts/am33xx-l4.dtsi

index 75de1e7..50dcf12 100644 (file)
@@ -72,7 +72,3 @@
        dual_emac_res_vlan = <2>;
        phy-handle = <&phy1>;
 };
-
-&phy_sel {
-       rmii-clock-ext = <1>;
-};
index 1b215c4..f3f1abd 100644 (file)
        dual_emac_res_vlan = <2>;
        phy-handle = <&phy1>;
 };
-
-&phy_sel {
-       rmii-clock-ext = <1>;
-};
index 832ead8..42f473f 100644 (file)
        phy-handle = <&phy1>;
 };
 
-&phy_sel {
-       rmii-clock-ext = <1>;
-};
-
 &dcan1 {
        pinctrl-names = "default";
        pinctrl-0 = <&dcan1_pins>;
index b50d5d2..bffa5dc 100644 (file)
        phy-mode = "rmii";
 };
 
-&phy_sel {
-       rmii-clock-ext;
-};
-
 /* USB */
 &usb {
        status = "okay";
index f2005ec..9ac775c 100644 (file)
        dual_emac;
 };
 
-&phy_sel {
-       rmii-clock-ext;
-};
-
 &davinci_mdio {
        pinctrl-names = "default", "sleep";
        pinctrl-0 = <&davinci_mdio_default>;
index 55b4c94..cbd22f2 100644 (file)
        phy-mode = "rmii";
 };
 
-&phy_sel {
-       rmii-clock-ext;
-};
-
 &elm {
        status = "okay";
 };
index 481edcf..d0e8e72 100644 (file)
        dual_emac_res_vlan = <3>;
 };
 
-&phy_sel {
-       rmii-clock-ext;
-};
-
 &mac {
        pinctrl-names = "default", "sleep";
        pinctrl-0 = <&cpsw_default>;
index 14f7819..cb5913a 100644 (file)
        status = "okay";
 };
 
-&phy_sel {
-       reg= <0x44e10650 0xf5>;
-       rmii-clock-ext;
-};
-
 &sham {
        status = "okay";
 };
index 5a58efc..e562ce4 100644 (file)
        dual_emac_res_vlan = <2>;
 };
 
-&phy_sel {
-       reg= <0x44e10650 0xf5>;
-       rmii-clock-ext;
-};
-
 &sham {
        status = "okay";
 };
index 428a25e..015adb6 100644 (file)
        status = "okay";
 };
 
-&phy_sel {
-       rmii-clock-ext;
-};
-
 /* I2C Busses */
 &am33xx_pinmux {
        i2c0_pins: pinmux_i2c0 {
index e957370..f459ec3 100644 (file)
                                #pinctrl-cells = <1>;
                                ranges = <0 0 0x2000>;
 
-                               phy_sel: cpsw-phy-sel@650 {
-                                       compatible = "ti,am3352-cpsw-phy-sel";
-                                       reg= <0x650 0x4>;
-                                       reg-names = "gmii-sel";
-                               };
-
                                am33xx_pinmux: pinmux@800 {
                                        compatible = "pinctrl-single";
                                        reg = <0x800 0x238>;
                                        #size-cells = <1>;
                                        ranges = <0 0 0x800>;
 
+                                       phy_gmii_sel: phy-gmii-sel {
+                                               compatible = "ti,am3352-phy-gmii-sel";
+                                               reg = <0x650 0x4>;
+                                               #phy-cells = <2>;
+                                       };
+
                                        scm_clocks: clocks {
                                                #address-cells = <1>;
                                                #size-cells = <0>;
                                interrupts = <40 41 42 43>;
                                ranges = <0 0 0x8000>;
                                syscon = <&scm_conf>;
-                               cpsw-phy-sel = <&phy_sel>;
                                status = "disabled";
 
                                davinci_mdio: mdio@1000 {
                                cpsw_emac0: slave@200 {
                                        /* Filled in by U-Boot */
                                        mac-address = [ 00 00 00 00 00 00 ];
+                                       phys = <&phy_gmii_sel 1 1>;
                                };
 
                                cpsw_emac1: slave@300 {
                                        /* Filled in by U-Boot */
                                        mac-address = [ 00 00 00 00 00 00 ];
+                                       phys = <&phy_gmii_sel 2 1>;
                                };
                        };
                };