diff options
author | Grygorii Strashko <grygorii.strashko@ti.com> | 2019-02-20 10:25:16 -0500 |
---|---|---|
committer | Tony Lindgren <tony@atomide.com> | 2019-02-20 11:14:03 -0500 |
commit | dab2da84d5db260d8b8edf450ccb67c5660dc5ee (patch) | |
tree | 4acefc23697533defca91e33e3f956e935d82da0 | |
parent | 837143940d895ddc55d6ab523aad3fd35375b816 (diff) |
ARM: dts: am4372: switch to use phy-gmii-sel
Switch to use phy-gmii-sel PHY instead of cpsw-phy-sel.
Signed-off-by: Grygorii Strashko <grygorii.strashko@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
-rw-r--r-- | arch/arm/boot/dts/am437x-l4.dtsi | 17 | ||||
-rw-r--r-- | arch/arm/boot/dts/am43x-epos-evm.dts | 5 |
2 files changed, 10 insertions, 12 deletions
diff --git a/arch/arm/boot/dts/am437x-l4.dtsi b/arch/arm/boot/dts/am437x-l4.dtsi index ca0896f80248..85c6f4ff1824 100644 --- a/arch/arm/boot/dts/am437x-l4.dtsi +++ b/arch/arm/boot/dts/am437x-l4.dtsi | |||
@@ -280,12 +280,6 @@ | |||
280 | #size-cells = <1>; | 280 | #size-cells = <1>; |
281 | ranges = <0 0 0x4000>; | 281 | ranges = <0 0 0x4000>; |
282 | 282 | ||
283 | phy_sel: cpsw-phy-sel@650 { | ||
284 | compatible = "ti,am43xx-cpsw-phy-sel"; | ||
285 | reg= <0x650 0x4>; | ||
286 | reg-names = "gmii-sel"; | ||
287 | }; | ||
288 | |||
289 | am43xx_pinmux: pinmux@800 { | 283 | am43xx_pinmux: pinmux@800 { |
290 | compatible = "ti,am437-padconf", | 284 | compatible = "ti,am437-padconf", |
291 | "pinctrl-single"; | 285 | "pinctrl-single"; |
@@ -300,11 +294,17 @@ | |||
300 | }; | 294 | }; |
301 | 295 | ||
302 | scm_conf: scm_conf@0 { | 296 | scm_conf: scm_conf@0 { |
303 | compatible = "syscon"; | 297 | compatible = "syscon", "simple-bus"; |
304 | reg = <0x0 0x800>; | 298 | reg = <0x0 0x800>; |
305 | #address-cells = <1>; | 299 | #address-cells = <1>; |
306 | #size-cells = <1>; | 300 | #size-cells = <1>; |
307 | 301 | ||
302 | phy_gmii_sel: phy-gmii-sel { | ||
303 | compatible = "ti,am43xx-phy-gmii-sel"; | ||
304 | reg = <0x650 0x4>; | ||
305 | #phy-cells = <2>; | ||
306 | }; | ||
307 | |||
308 | scm_clocks: clocks { | 308 | scm_clocks: clocks { |
309 | #address-cells = <1>; | 309 | #address-cells = <1>; |
310 | #size-cells = <0>; | 310 | #size-cells = <0>; |
@@ -555,7 +555,6 @@ | |||
555 | cpts_clock_shift = <29>; | 555 | cpts_clock_shift = <29>; |
556 | ranges = <0 0 0x8000>; | 556 | ranges = <0 0 0x8000>; |
557 | syscon = <&scm_conf>; | 557 | syscon = <&scm_conf>; |
558 | cpsw-phy-sel = <&phy_sel>; | ||
559 | 558 | ||
560 | davinci_mdio: mdio@1000 { | 559 | davinci_mdio: mdio@1000 { |
561 | compatible = "ti,am4372-mdio","ti,cpsw-mdio","ti,davinci_mdio"; | 560 | compatible = "ti,am4372-mdio","ti,cpsw-mdio","ti,davinci_mdio"; |
@@ -572,11 +571,13 @@ | |||
572 | cpsw_emac0: slave@200 { | 571 | cpsw_emac0: slave@200 { |
573 | /* Filled in by U-Boot */ | 572 | /* Filled in by U-Boot */ |
574 | mac-address = [ 00 00 00 00 00 00 ]; | 573 | mac-address = [ 00 00 00 00 00 00 ]; |
574 | phys = <&phy_gmii_sel 1 0>; | ||
575 | }; | 575 | }; |
576 | 576 | ||
577 | cpsw_emac1: slave@300 { | 577 | cpsw_emac1: slave@300 { |
578 | /* Filled in by U-Boot */ | 578 | /* Filled in by U-Boot */ |
579 | mac-address = [ 00 00 00 00 00 00 ]; | 579 | mac-address = [ 00 00 00 00 00 00 ]; |
580 | phys = <&phy_gmii_sel 2 0>; | ||
580 | }; | 581 | }; |
581 | }; | 582 | }; |
582 | }; | 583 | }; |
diff --git a/arch/arm/boot/dts/am43x-epos-evm.dts b/arch/arm/boot/dts/am43x-epos-evm.dts index 4ea753b3ee43..9dfd80e3b76e 100644 --- a/arch/arm/boot/dts/am43x-epos-evm.dts +++ b/arch/arm/boot/dts/am43x-epos-evm.dts | |||
@@ -584,10 +584,7 @@ | |||
584 | &cpsw_emac0 { | 584 | &cpsw_emac0 { |
585 | phy-handle = <ðphy0>; | 585 | phy-handle = <ðphy0>; |
586 | phy-mode = "rmii"; | 586 | phy-mode = "rmii"; |
587 | }; | 587 | phys = <&phy_gmii_sel 1 1>; |
588 | |||
589 | &phy_sel { | ||
590 | rmii-clock-ext; | ||
591 | }; | 588 | }; |
592 | 589 | ||
593 | &i2c0 { | 590 | &i2c0 { |