summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGrygorii Strashko <grygorii.strashko@ti.com>2018-09-09 03:05:07 +0300
committerTony Lindgren <tony@atomide.com>2018-09-21 00:36:47 +0300
commit8cd1cc3f7c0ae07f32ea0a8fab2143296f163fc5 (patch)
treeed1b22bbed5bfb03fa0652314b3289848e4cf314
parent0d175556e2e4235d0abb282817ac61faced81494 (diff)
downloadlinux-8cd1cc3f7c0ae07f32ea0a8fab2143296f163fc5.tar.xz
ARM: dts: am335x-chiliboard: 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-chiliboard.dts6
1 files changed, 5 insertions, 1 deletions
diff --git a/arch/arm/boot/dts/am335x-chiliboard.dts b/arch/arm/boot/dts/am335x-chiliboard.dts
index 59431b235944..9c2a947aacf5 100644
--- a/arch/arm/boot/dts/am335x-chiliboard.dts
+++ b/arch/arm/boot/dts/am335x-chiliboard.dts
@@ -140,10 +140,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 = "rmii";
};