diff options
author | Grygorii Strashko <grygorii.strashko@ti.com> | 2018-09-10 18:57:50 -0400 |
---|---|---|
committer | Tony Lindgren <tony@atomide.com> | 2018-09-20 17:42:32 -0400 |
commit | 4d80b7c5077b0fed6751b86c846aed4bd4da1e75 (patch) | |
tree | b67ff5858d9d45703392e39b5ba0ecbfa869e0d0 | |
parent | c4ab246845652db29ae9dfd3c3b7c8e048cc9b72 (diff) |
ARM: dts: dra7-evm: 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>
-rw-r--r-- | arch/arm/boot/dts/dra7-evm.dts | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/arch/arm/boot/dts/dra7-evm.dts b/arch/arm/boot/dts/dra7-evm.dts index 6ed5f9156270..cc079064a23b 100644 --- a/arch/arm/boot/dts/dra7-evm.dts +++ b/arch/arm/boot/dts/dra7-evm.dts | |||
@@ -512,17 +512,27 @@ | |||
512 | }; | 512 | }; |
513 | 513 | ||
514 | &cpsw_emac0 { | 514 | &cpsw_emac0 { |
515 | phy_id = <&davinci_mdio>, <2>; | 515 | phy-handle = <ðphy0>; |
516 | phy-mode = "rgmii"; | 516 | phy-mode = "rgmii"; |
517 | dual_emac_res_vlan = <1>; | 517 | dual_emac_res_vlan = <1>; |
518 | }; | 518 | }; |
519 | 519 | ||
520 | &cpsw_emac1 { | 520 | &cpsw_emac1 { |
521 | phy_id = <&davinci_mdio>, <3>; | 521 | phy-handle = <ðphy1>; |
522 | phy-mode = "rgmii"; | 522 | phy-mode = "rgmii"; |
523 | dual_emac_res_vlan = <2>; | 523 | dual_emac_res_vlan = <2>; |
524 | }; | 524 | }; |
525 | 525 | ||
526 | &davinci_mdio { | ||
527 | ethphy0: ethernet-phy@2 { | ||
528 | reg = <2>; | ||
529 | }; | ||
530 | |||
531 | ethphy1: ethernet-phy@3 { | ||
532 | reg = <3>; | ||
533 | }; | ||
534 | }; | ||
535 | |||
526 | &dcan1 { | 536 | &dcan1 { |
527 | status = "ok"; | 537 | status = "ok"; |
528 | pinctrl-names = "default", "sleep", "active"; | 538 | pinctrl-names = "default", "sleep", "active"; |