aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGrygorii Strashko <grygorii.strashko@ti.com>2018-09-08 19:05:02 -0500
committerTony Lindgren <tony@atomide.com>2018-09-20 14:36:23 -0700
commit5ef346bb8092a4d2a52f9eb1bb6f20d991df889e (patch)
tree36aea34cdd84caf4f0d97c48bf10c9c688a5042f
parentARM: dts: am335x-nano: get rid of phy_id property (diff)
downloadlinux-dev-5ef346bb8092a4d2a52f9eb1bb6f20d991df889e.tar.xz
linux-dev-5ef346bb8092a4d2a52f9eb1bb6f20d991df889e.zip
ARM: dts: am335x-moxa-uc-8100-me-t: get rid of phy_id property
The phy_id property is deprecated and phy-handle has to be used instead. Signed-off-by: Grygorii Strashko <grygorii.strashko@ti.com> Signed-off-by: Tony Lindgren <tony@atomide.com>
-rw-r--r--arch/arm/boot/dts/am335x-moxa-uc-8100-me-t.dts12
1 files changed, 10 insertions, 2 deletions
diff --git a/arch/arm/boot/dts/am335x-moxa-uc-8100-me-t.dts b/arch/arm/boot/dts/am335x-moxa-uc-8100-me-t.dts
index f82233cd18e0..5a58efc0c874 100644
--- a/arch/arm/boot/dts/am335x-moxa-uc-8100-me-t.dts
+++ b/arch/arm/boot/dts/am335x-moxa-uc-8100-me-t.dts
@@ -422,18 +422,26 @@
pinctrl-names = "default";
pinctrl-0 = <&davinci_mdio_default>;
status = "okay";
+
+ ethphy0: ethernet-phy@4 {
+ reg = <4>;
+ };
+
+ ethphy1: ethernet-phy@5 {
+ reg = <5>;
+ };
};
&cpsw_emac0 {
status = "okay";
- phy_id = <&davinci_mdio>, <4>;
+ phy-handle = <&ethphy0>;
phy-mode = "rmii";
dual_emac_res_vlan = <1>;
};
&cpsw_emac1 {
status = "okay";
- phy_id = <&davinci_mdio>, <5>;
+ phy-handle = <&ethphy1>;
phy-mode = "rmii";
dual_emac_res_vlan = <2>;
};