Skip to content

Commit 8aea865

Browse files
lunngclement
authored andcommitted
ARM: dts: kirkwood: 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 Kirkwood 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. Signed-off-by: Andrew Lunn <[email protected]> Signed-off-by: Gregory CLEMENT <[email protected]>
1 parent fe15c26 commit 8aea865

File tree

5 files changed

+8
-5
lines changed

5 files changed

+8
-5
lines changed

arch/arm/boot/dts/kirkwood-dir665.dts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -232,7 +232,7 @@
232232

233233
port@6 {
234234
reg = <6>;
235-
label = "cpu";
235+
phy-mode = "rgmii-id";
236236
ethernet = <&eth0port>;
237237
fixed-link {
238238
speed = <1000>;
@@ -251,6 +251,7 @@
251251
ethernet0-port@0 {
252252
speed = <1000>;
253253
duplex = <1>;
254+
phy-mode = "rgmii";
254255
};
255256
};
256257

arch/arm/boot/dts/kirkwood-l-50.dts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -254,7 +254,6 @@
254254

255255
port@6 {
256256
reg = <6>;
257-
label = "cpu";
258257
phy-mode = "rgmii-id";
259258
ethernet = <&eth1port>;
260259
fixed-link {
@@ -330,6 +329,7 @@
330329
ethernet1-port@0 {
331330
speed = <1000>;
332331
duplex = <1>;
332+
phy-mode = "rgmii";
333333
};
334334
};
335335

arch/arm/boot/dts/kirkwood-linksys-viper.dts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -198,7 +198,7 @@
198198

199199
port@5 {
200200
reg = <5>;
201-
label = "cpu";
201+
phy-mode = "rgmii-id";
202202
ethernet = <&eth0port>;
203203
fixed-link {
204204
speed = <1000>;
@@ -221,6 +221,7 @@
221221
ethernet0-port@0 {
222222
speed = <1000>;
223223
duplex = <1>;
224+
phy-mode = "rgmii";
224225
};
225226
};
226227

arch/arm/boot/dts/kirkwood-mv88f6281gtw-ge.dts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@
149149

150150
port@5 {
151151
reg = <5>;
152-
label = "cpu";
152+
phy-mode = "rgmii-id";
153153
ethernet = <&eth0port>;
154154
fixed-link {
155155
speed = <1000>;
@@ -166,6 +166,7 @@
166166
ethernet0-port@0 {
167167
speed = <1000>;
168168
duplex = <1>;
169+
phy-mode = "rgmii";
169170
};
170171
};
171172

arch/arm/boot/dts/kirkwood-rd88f6281.dtsi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@
105105

106106
port@5 {
107107
reg = <5>;
108-
label = "cpu";
108+
phy-mode = "rgmii-id";
109109
ethernet = <&eth0port>;
110110
fixed-link {
111111
speed = <1000>;

0 commit comments

Comments
 (0)