diff options
author | Grygorii Strashko <grygorii.strashko@ti.com> | 2019-08-31 10:30:34 +0300 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2019-11-03 09:15:46 -0500 |
commit | 3b3e8a37d36e7a413bacf560ed138c6680bcb89b (patch) | |
tree | 06fa1e1eb97918b4583f310d83d9c14adfe33bc1 /arch/arm/dts/am335x-baltos.dts | |
parent | b1fe4fe330711c4a2ce2d9ba583bdeae22886589 (diff) |
arm: dts: am335x: sync cpsw/mdio/phy with latest linux - drop phy_id
Synchronize CPSW/MDIO/PHY DT nodes with latest linux - replace deprecated
phy_id property with phy-handle.
Signed-off-by: Grygorii Strashko <grygorii.strashko@ti.com>
Cc: Lokesh Vutla <lokeshvutla@ti.com>
Cc: Hannes Schmelzer <hannes.schmelzer@br-automation.com>
Cc: Heiko Schocher <hs@denx.de>
Cc: Felix Brack <fb@ltec.ch>
Cc: Jean-Jacques Hiblot <jjhiblot@ti.com>
Diffstat (limited to 'arch/arm/dts/am335x-baltos.dts')
-rw-r--r-- | arch/arm/dts/am335x-baltos.dts | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/arch/arm/dts/am335x-baltos.dts b/arch/arm/dts/am335x-baltos.dts index f939cf6406..b3c13c9a9d 100644 --- a/arch/arm/dts/am335x-baltos.dts +++ b/arch/arm/dts/am335x-baltos.dts @@ -409,16 +409,26 @@ pinctrl-1 = <&davinci_mdio_sleep>; status = "okay"; + + phy0: ethernet-phy@0 { + reg = <0>; + }; + + phy1: ethernet-phy@7 { + reg = <7>; + eee-broken-100tx; + eee-broken-1000t; + }; }; &cpsw_emac0 { - phy_id = <&davinci_mdio>, <0>; + phy-handle = <&phy0>; phy-mode = "rmii"; dual_emac_res_vlan = <1>; }; &cpsw_emac1 { - phy_id = <&davinci_mdio>, <7>; + phy-handle = <&phy1>; phy-mode = "rgmii-txid"; dual_emac_res_vlan = <2>; }; |