aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTony Lindgren <tony@atomide.com>2018-09-28 13:32:01 -0700
committerTony Lindgren <tony@atomide.com>2018-09-28 13:36:48 -0700
commit5f681f41fe1714e9961dcba2e98adea2a0daf9c5 (patch)
tree1d407db1ce65fbef3ca94f5c6f759c580e9de0d0
parent7f4ddf50c92b6a1d8f25a2a610c3a75785f77a1e (diff)
downloadlinux-omap-omap-for-v4.20/dt.tar.gz
ARM: dts: am335x: Replace remaining legacy phy_id with phy-handleomap-for-v4.20/dt-signed-part2omap-for-v4.20/dt
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>
-rw-r--r--arch/arm/boot/dts/am335x-osd3358-sm-red.dts6
-rw-r--r--arch/arm/boot/dts/am335x-sancloud-bbe.dts6
2 files changed, 10 insertions, 2 deletions
diff --git a/arch/arm/boot/dts/am335x-osd3358-sm-red.dts b/arch/arm/boot/dts/am335x-osd3358-sm-red.dts
index d9e92671055bd..85cd1d0a73ca4 100644
--- a/arch/arm/boot/dts/am335x-osd3358-sm-red.dts
+++ b/arch/arm/boot/dts/am335x-osd3358-sm-red.dts
@@ -424,7 +424,7 @@
};
&cpsw_emac0 {
- phy_id = <&davinci_mdio>, <4>;
+ phy-handle = <&ethphy0>;
phy-mode = "rgmii-txid";
};
@@ -441,6 +441,10 @@
pinctrl-0 = <&davinci_mdio_default>;
pinctrl-1 = <&davinci_mdio_sleep>;
status = "okay";
+
+ ethphy0: ethernet-phy@4 {
+ reg = <4>;
+ };
};
&mmc1 {
diff --git a/arch/arm/boot/dts/am335x-sancloud-bbe.dts b/arch/arm/boot/dts/am335x-sancloud-bbe.dts
index 7b8e7417a11e6..35527fdf56cc8 100644
--- a/arch/arm/boot/dts/am335x-sancloud-bbe.dts
+++ b/arch/arm/boot/dts/am335x-sancloud-bbe.dts
@@ -103,10 +103,14 @@
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";
};