Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

ARM: dts: am57xx-idk-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>

authored by

Grygorii Strashko and committed by
Tony Lindgren
adfcf71b 4d80b7c5

+12 -2
+12 -2
arch/arm/boot/dts/am57xx-idk-common.dtsi
··· 372 372 }; 373 373 374 374 &cpsw_emac0 { 375 - phy_id = <&davinci_mdio>, <0>; 375 + phy-handle = <&ethphy0>; 376 376 phy-mode = "rgmii"; 377 377 dual_emac_res_vlan = <1>; 378 378 }; 379 379 380 380 &cpsw_emac1 { 381 - phy_id = <&davinci_mdio>, <1>; 381 + phy-handle = <&ethphy1>; 382 382 phy-mode = "rgmii"; 383 383 dual_emac_res_vlan = <2>; 384 + }; 385 + 386 + &davinci_mdio { 387 + ethphy0: ethernet-phy@0 { 388 + reg = <0>; 389 + }; 390 + 391 + ethphy1: ethernet-phy@1 { 392 + reg = <1>; 393 + }; 384 394 }; 385 395 386 396 &usb2_phy1 {