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

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>

authored by

Grygorii Strashko and committed by
Tony Lindgren
dab2da84 83714394

+10 -12
+9 -8
arch/arm/boot/dts/am437x-l4.dtsi
··· 280 280 #size-cells = <1>; 281 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 283 am43xx_pinmux: pinmux@800 { 290 284 compatible = "ti,am437-padconf", 291 285 "pinctrl-single"; ··· 294 300 }; 295 301 296 302 scm_conf: scm_conf@0 { 297 - compatible = "syscon"; 303 + compatible = "syscon", "simple-bus"; 298 304 reg = <0x0 0x800>; 299 305 #address-cells = <1>; 300 306 #size-cells = <1>; 307 + 308 + phy_gmii_sel: phy-gmii-sel { 309 + compatible = "ti,am43xx-phy-gmii-sel"; 310 + reg = <0x650 0x4>; 311 + #phy-cells = <2>; 312 + }; 301 313 302 314 scm_clocks: clocks { 303 315 #address-cells = <1>; ··· 555 555 cpts_clock_shift = <29>; 556 556 ranges = <0 0 0x8000>; 557 557 syscon = <&scm_conf>; 558 - cpsw-phy-sel = <&phy_sel>; 559 558 560 559 davinci_mdio: mdio@1000 { 561 560 compatible = "ti,am4372-mdio","ti,cpsw-mdio","ti,davinci_mdio"; ··· 571 572 cpsw_emac0: slave@200 { 572 573 /* Filled in by U-Boot */ 573 574 mac-address = [ 00 00 00 00 00 00 ]; 575 + phys = <&phy_gmii_sel 1 0>; 574 576 }; 575 577 576 578 cpsw_emac1: slave@300 { 577 579 /* Filled in by U-Boot */ 578 580 mac-address = [ 00 00 00 00 00 00 ]; 581 + phys = <&phy_gmii_sel 2 0>; 579 582 }; 580 583 }; 581 584 };
+1 -4
arch/arm/boot/dts/am43x-epos-evm.dts
··· 584 584 &cpsw_emac0 { 585 585 phy-handle = <&ethphy0>; 586 586 phy-mode = "rmii"; 587 - }; 588 - 589 - &phy_sel { 590 - rmii-clock-ext; 587 + phys = <&phy_gmii_sel 1 1>; 591 588 }; 592 589 593 590 &i2c0 {