Skip to content

Commit e2e1bcb

Browse files
lunngclement
authored andcommitted
ARM: dts: orion5: Add missing phy-mode and fixed links
The DSA framework has got more picky about always having a phy-mode for the CPU port. The Orion5x Ethernet is an RGMII port. Set the switch to impose the RGMII delays. Additionally, the cpu label has never actually been used in the binding, so remove it. Lastly, add a fixed-link node indicating the expected speed/duplex of the link to the SoC. Signed-off-by: Andrew Lunn <[email protected]> Signed-off-by: Gregory CLEMENT <[email protected]>
1 parent 8aea865 commit e2e1bcb

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

arch/arm/boot/dts/orion5x-netgear-wnr854t.dts

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,8 +137,12 @@
137137

138138
port@3 {
139139
reg = <3>;
140-
label = "cpu";
141140
ethernet = <&ethport>;
141+
phy-mode = "rgmii-id";
142+
fixed-link {
143+
speed = <1000>;
144+
full-duplex;
145+
};
142146
};
143147

144148
port@5 {
@@ -208,6 +212,7 @@
208212
/* Hardwired to DSA switch */
209213
speed = <1000>;
210214
duplex = <1>;
215+
phy-mode = "rgmii";
211216
};
212217
};
213218

0 commit comments

Comments
 (0)