Skip to content

Commit e8acd85

Browse files
grygoriyStmlind
authored andcommitted
ARM: dts: dra7: 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>
1 parent 947b780 commit e8acd85

File tree

1 file changed

+8
-7
lines changed

1 file changed

+8
-7
lines changed

arch/arm/boot/dts/dra7-l4.dtsi

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -77,18 +77,18 @@
7777
};
7878
};
7979

80+
phy_gmii_sel: phy-gmii-sel {
81+
compatible = "ti,dra7xx-phy-gmii-sel";
82+
reg = <0x554 0x4>;
83+
#phy-cells = <1>;
84+
};
85+
8086
scm_conf_clocks: clocks {
8187
#address-cells = <1>;
8288
#size-cells = <0>;
8389
};
8490
};
8591

86-
phy_sel: cpsw-phy-sel@554 {
87-
compatible = "ti,dra7xx-cpsw-phy-sel";
88-
reg= <0x554 0x4>;
89-
reg-names = "gmii-sel";
90-
};
91-
9292
dra7_pmx_core: pinmux@1400 {
9393
compatible = "ti,dra7-padconf",
9494
"pinctrl-single";
@@ -3099,7 +3099,6 @@
30993099
<GIC_SPI 337 IRQ_TYPE_LEVEL_HIGH>;
31003100
ranges = <0 0 0x4000>;
31013101
syscon = <&scm_conf>;
3102-
cpsw-phy-sel = <&phy_sel>;
31033102
status = "disabled";
31043103

31053104
davinci_mdio: mdio@1000 {
@@ -3114,11 +3113,13 @@
31143113
cpsw_emac0: slave@200 {
31153114
/* Filled in by U-Boot */
31163115
mac-address = [ 00 00 00 00 00 00 ];
3116+
phys = <&phy_gmii_sel 1>;
31173117
};
31183118

31193119
cpsw_emac1: slave@300 {
31203120
/* Filled in by U-Boot */
31213121
mac-address = [ 00 00 00 00 00 00 ];
3122+
phys = <&phy_gmii_sel 2>;
31223123
};
31233124
};
31243125
};

0 commit comments

Comments
 (0)