Skip to content

Commit 4d8b032

Browse files
grygoriyStmlind
authored andcommitted
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>
1 parent 8cd1cc3 commit 4d8b032

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

arch/arm/boot/dts/am335x-bone-common.dtsi

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -379,7 +379,7 @@
379379
};
380380

381381
&cpsw_emac0 {
382-
phy_id = <&davinci_mdio>, <0>;
382+
phy-handle = <&ethphy0>;
383383
phy-mode = "mii";
384384
};
385385

@@ -396,6 +396,10 @@
396396
pinctrl-0 = <&davinci_mdio_default>;
397397
pinctrl-1 = <&davinci_mdio_sleep>;
398398
status = "okay";
399+
400+
ethphy0: ethernet-phy@0 {
401+
reg = <0>;
402+
};
399403
};
400404

401405
&mmc1 {

0 commit comments

Comments
 (0)