Skip to content

Commit 8371439

Browse files
grygoriyStmlind
authored andcommitted
ARM: dts: dm814x: 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 e8acd85 commit 8371439

File tree

1 file changed

+9
-6
lines changed

1 file changed

+9
-6
lines changed

arch/arm/boot/dts/dm814x.dtsi

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -343,6 +343,12 @@
343343
#size-cells = <1>;
344344
ranges = <0 0 0x800>;
345345

346+
phy_gmii_sel: phy-gmii-sel {
347+
compatible = "ti,dm814-phy-gmii-sel";
348+
reg = <0x650 0x4>;
349+
#phy-cells = <1>;
350+
};
351+
346352
scm_clocks: clocks {
347353
#address-cells = <1>;
348354
#size-cells = <0>;
@@ -549,17 +555,14 @@
549555
cpsw_emac0: slave@4a100200 {
550556
/* Filled in by U-Boot */
551557
mac-address = [ 00 00 00 00 00 00 ];
558+
phys = <&phy_gmii_sel 1>;
559+
552560
};
553561

554562
cpsw_emac1: slave@4a100300 {
555563
/* Filled in by U-Boot */
556564
mac-address = [ 00 00 00 00 00 00 ];
557-
};
558-
559-
phy_sel: cpsw-phy-sel@48140650 {
560-
compatible = "ti,am3352-cpsw-phy-sel";
561-
reg= <0x48140650 0x4>;
562-
reg-names = "gmii-sel";
565+
phys = <&phy_gmii_sel 2>;
563566
};
564567
};
565568

0 commit comments

Comments
 (0)