]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
ARM: dts: am335x: Replace remaining legacy phy_id with phy-handle
authorTony Lindgren <tony@atomide.com>
Fri, 28 Sep 2018 20:32:01 +0000 (13:32 -0700)
committerTony Lindgren <tony@atomide.com>
Fri, 28 Sep 2018 20:36:48 +0000 (13:36 -0700)
Looks like we still have two instances of phy_handle that did not
get update by Grygorii's series. Let's replace these too with
standard phy-handle.

Cc: Arnd Bergmann <arnd@arndb.de>
Cc: Neeraj Dantu <dantuguf14105@gmail.com>
Reported-by: Arnd Bergmann <arnd@arndb.de>
Reviewed-by: Grygorii Strashko <grygorii.strashko@ti.com>
Acked-by: Koen Kooi <koen@dominion.thruhere.net>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/boot/dts/am335x-osd3358-sm-red.dts
arch/arm/boot/dts/am335x-sancloud-bbe.dts

index d9e92671055bdeeadecccf5cb3890ab470f004f8..85cd1d0a73ca4542d29fb473ca310a796bb10f5c 100644 (file)
@@ -424,7 +424,7 @@ &i2c2 {
 };
 
 &cpsw_emac0 {
-       phy_id = <&davinci_mdio>, <4>;
+       phy-handle = <&ethphy0>;
        phy-mode = "rgmii-txid";
 };
 
@@ -441,6 +441,10 @@ &davinci_mdio {
        pinctrl-0 = <&davinci_mdio_default>;
        pinctrl-1 = <&davinci_mdio_sleep>;
        status = "okay";
+
+       ethphy0: ethernet-phy@4 {
+               reg = <4>;
+       };
 };
 
 &mmc1 {
index 7b8e7417a11e68b397b1018faa90ebc21027417c..35527fdf56cc8896178b055ebee6f63e6cad6845 100644 (file)
@@ -103,10 +103,14 @@ &davinci_mdio {
        pinctrl-0 = <&davinci_mdio_default>;
        pinctrl-1 = <&davinci_mdio_sleep>;
        status = "okay";
+
+       ethphy0: ethernet-phy@0 {
+               reg = <0>;
+       };
 };
 
 &cpsw_emac0 {
-       phy_id = <&davinci_mdio>, <0>;
+       phy-handle = <&ethphy0>;
        phy-mode = "rgmii-txid";
 };