summaryrefslogtreecommitdiffstats
path: root/arch/arm/boot/dts/am335x-baltos-ir2110.dts
diff options
context:
space:
mode:
authorYegor Yefremov <yegorslists@googlemail.com>2016-11-23 16:49:26 +0100
committerTony Lindgren <tony@atomide.com>2016-11-23 08:14:25 -0800
commitf5c59d165af1238d097f23f458b2c5d96a5e7d66 (patch)
treeed273bf47a584a971e7f9aeabc619df2d8e9af44 /arch/arm/boot/dts/am335x-baltos-ir2110.dts
parent8804755bfb1f3cbc003e4ebe99eac491672f354c (diff)
downloadlinux-f5c59d165af1238d097f23f458b2c5d96a5e7d66.tar.bz2
ARM: dts: am335x-baltos: use phy-phandle declarations
phy-phandle is now a preferred method to reference a PHY device. Especially in regards to cpsw it enables PHY specific settings like max-speed etc. being specified in DTS. Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com> Signed-off-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'arch/arm/boot/dts/am335x-baltos-ir2110.dts')
-rw-r--r--arch/arm/boot/dts/am335x-baltos-ir2110.dts10
1 files changed, 8 insertions, 2 deletions
diff --git a/arch/arm/boot/dts/am335x-baltos-ir2110.dts b/arch/arm/boot/dts/am335x-baltos-ir2110.dts
index a9a97307d66c..501c7527121b 100644
--- a/arch/arm/boot/dts/am335x-baltos-ir2110.dts
+++ b/arch/arm/boot/dts/am335x-baltos-ir2110.dts
@@ -54,16 +54,22 @@
dr_mode = "host";
};
+&davinci_mdio {
+ phy0: ethernet-phy@0 {
+ reg = <1>;
+ };
+};
+
&cpsw_emac0 {
- phy_id = <&davinci_mdio>, <1>;
phy-mode = "rmii";
dual_emac_res_vlan = <1>;
+ phy-handle = <&phy0>;
};
&cpsw_emac1 {
- phy_id = <&davinci_mdio>, <7>;
phy-mode = "rgmii-txid";
dual_emac_res_vlan = <2>;
+ phy-handle = <&phy1>;
};
&phy_sel {