summaryrefslogtreecommitdiff
path: root/arch/arm/boot/dts/am335x-bone-common.dtsi
diff options
context:
space:
mode:
authorGrygorii Strashko <grygorii.strashko@ti.com>2018-09-09 03:05:08 +0300
committerTony Lindgren <tony@atomide.com>2018-09-21 00:36:52 +0300
commit4d8b032d3c03f4e9788a18bbb51b10e6c9e8a56b (patch)
treef355b52ffa81b1267fd28699d5f2ded58e286e27 /arch/arm/boot/dts/am335x-bone-common.dtsi
parent8cd1cc3f7c0ae07f32ea0a8fab2143296f163fc5 (diff)
downloadlinux-4d8b032d3c03f4e9788a18bbb51b10e6c9e8a56b.tar.xz
ARM: dts: am335x-bone-common: 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>
Diffstat (limited to 'arch/arm/boot/dts/am335x-bone-common.dtsi')
-rw-r--r--arch/arm/boot/dts/am335x-bone-common.dtsi6
1 files changed, 5 insertions, 1 deletions
diff --git a/arch/arm/boot/dts/am335x-bone-common.dtsi b/arch/arm/boot/dts/am335x-bone-common.dtsi
index 73b514dddf65..9e5e75ea87f5 100644
--- a/arch/arm/boot/dts/am335x-bone-common.dtsi
+++ b/arch/arm/boot/dts/am335x-bone-common.dtsi
@@ -379,7 +379,7 @@
};
&cpsw_emac0 {
- phy_id = <&davinci_mdio>, <0>;
+ phy-handle = <&ethphy0>;
phy-mode = "mii";
};
@@ -396,6 +396,10 @@
pinctrl-0 = <&davinci_mdio_default>;
pinctrl-1 = <&davinci_mdio_sleep>;
status = "okay";
+
+ ethphy0: ethernet-phy@0 {
+ reg = <0>;
+ };
};
&mmc1 {