summaryrefslogtreecommitdiffstats
path: root/arch/arm/boot/dts/am335x-igep0033.dtsi
diff options
context:
space:
mode:
authorGrygorii Strashko <grygorii.strashko@ti.com>2018-09-09 02:05:04 +0200
committerTony Lindgren <tony@atomide.com>2018-09-20 23:36:33 +0200
commitd9312570d5d1e5d3cce4444840207a79b83a2da5 (patch)
tree08915be35b021712605f398187e2fee519d15c0d /arch/arm/boot/dts/am335x-igep0033.dtsi
parentARM: dts: am335x-lxm: get rid of phy_id property (diff)
downloadlinux-d9312570d5d1e5d3cce4444840207a79b83a2da5.tar.xz
linux-d9312570d5d1e5d3cce4444840207a79b83a2da5.zip
ARM: dts: am335x-igep0033: 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-igep0033.dtsi')
-rw-r--r--arch/arm/boot/dts/am335x-igep0033.dtsi13
1 files changed, 11 insertions, 2 deletions
diff --git a/arch/arm/boot/dts/am335x-igep0033.dtsi b/arch/arm/boot/dts/am335x-igep0033.dtsi
index a5769a8f5fc8..55b4c94cfafb 100644
--- a/arch/arm/boot/dts/am335x-igep0033.dtsi
+++ b/arch/arm/boot/dts/am335x-igep0033.dtsi
@@ -102,15 +102,24 @@
&davinci_mdio {
status = "okay";
+
+ ethphy0: ethernet-phy@0 {
+ reg = <0>;
+ };
+
+ ethphy1: ethernet-phy@1 {
+ reg = <1>;
+ };
};
&cpsw_emac0 {
- phy_id = <&davinci_mdio>, <0>;
+ phy-handle = <&ethphy0>;
phy-mode = "rmii";
+
};
&cpsw_emac1 {
- phy_id = <&davinci_mdio>, <1>;
+ phy-handle = <&ethphy1>;
phy-mode = "rmii";
};