diff options
author | Grygorii Strashko <grygorii.strashko@ti.com> | 2018-09-11 01:57:53 +0300 |
---|---|---|
committer | Tony Lindgren <tony@atomide.com> | 2018-09-21 00:42:46 +0300 |
commit | abf878ddfdf28f1d6d0d691ed165d0664dc850f9 (patch) | |
tree | 7dafbebd687a46ecfce60378e7b625947d4a0abb /arch/arm/boot/dts/dm8148-evm.dts | |
parent | 2ac921dc010af9b3749e58ddffd93997799a5b0a (diff) | |
download | linux-abf878ddfdf28f1d6d0d691ed165d0664dc850f9.tar.xz |
ARM: dts: dm8148-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>
Diffstat (limited to 'arch/arm/boot/dts/dm8148-evm.dts')
-rw-r--r-- | arch/arm/boot/dts/dm8148-evm.dts | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/arch/arm/boot/dts/dm8148-evm.dts b/arch/arm/boot/dts/dm8148-evm.dts index 85d7b5148b0a..2d201719ba69 100644 --- a/arch/arm/boot/dts/dm8148-evm.dts +++ b/arch/arm/boot/dts/dm8148-evm.dts @@ -27,15 +27,25 @@ }; &cpsw_emac0 { - phy_id = <&davinci_mdio>, <0>; + phy-handle = <ðphy0>; phy-mode = "rgmii"; }; &cpsw_emac1 { - phy_id = <&davinci_mdio>, <1>; + phy-handle = <ðphy1>; phy-mode = "rgmii"; }; +&davinci_mdio { + ethphy0: ethernet-phy@0 { + reg = <0>; + }; + + ethphy1: ethernet-phy@1 { + reg = <1>; + }; +}; + &gpmc { ranges = <0 0 0x04000000 0x01000000>; /* CS0: 16MB for NAND */ |