summaryrefslogtreecommitdiffstats
path: root/arch/arm/boot/dts/dm8148-t410.dts
diff options
context:
space:
mode:
authorGrygorii Strashko <grygorii.strashko@ti.com>2018-09-11 00:57:54 +0200
committerTony Lindgren <tony@atomide.com>2018-09-20 23:42:51 +0200
commit3a25128c02f6935b393aba481808bee5c8ccc29a (patch)
treeb48395ff6744bbddce9d890d96dc547be65366d2 /arch/arm/boot/dts/dm8148-t410.dts
parentARM: dts: dm8148-evm: get rid of phy_id property (diff)
downloadlinux-3a25128c02f6935b393aba481808bee5c8ccc29a.tar.xz
linux-3a25128c02f6935b393aba481808bee5c8ccc29a.zip
ARM: dts: dm8148-t410: 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/dm8148-t410.dts')
-rw-r--r--arch/arm/boot/dts/dm8148-t410.dts14
1 files changed, 12 insertions, 2 deletions
diff --git a/arch/arm/boot/dts/dm8148-t410.dts b/arch/arm/boot/dts/dm8148-t410.dts
index c46a227b543d..63301bcacf19 100644
--- a/arch/arm/boot/dts/dm8148-t410.dts
+++ b/arch/arm/boot/dts/dm8148-t410.dts
@@ -36,15 +36,25 @@
};
&cpsw_emac0 {
- phy_id = <&davinci_mdio>, <0>;
+ phy-handle = <&ethphy0>;
phy-mode = "rgmii";
};
&cpsw_emac1 {
- phy_id = <&davinci_mdio>, <1>;
+ phy-handle = <&ethphy1>;
phy-mode = "rgmii";
};
+&davinci_mdio {
+ ethphy0: ethernet-phy@0 {
+ reg = <0>;
+ };
+
+ ethphy1: ethernet-phy@1 {
+ reg = <1>;
+ };
+};
+
&mmc1 {
status = "disabled";
};