Skip to content

Commit 5ebb747

Browse files
bigunclemaxmpe
authored andcommitted
powerpc: dts: t1040rdb: fix ports names for Seville Ethernet switch
On board rev A, the network interface labels for the switch ports written on the front panel are different than on rev B and later. This patch fixes network interface names for the switch ports according to labels that are written on the front panel of the board rev B. They start from ETH3 and end at ETH10. This patch also introduces a separate device tree for rev A. The main device tree is supposed to cover rev B and later. Fixes: e69eb08 ("powerpc: dts: t1040rdb: add ports for Seville Ethernet switch") Signed-off-by: Maxim Kiselev <[email protected]> Reviewed-by: Maxim Kochetkov <[email protected]> Reviewed-by: Vladimir Oltean <[email protected]> Signed-off-by: Michael Ellerman <[email protected]> Link: https://lore.kernel.org/r/[email protected]
1 parent eddaa9a commit 5ebb747

File tree

2 files changed

+34
-4
lines changed

2 files changed

+34
-4
lines changed
Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
// SPDX-License-Identifier: GPL-2.0-or-later
2+
/*
3+
* T1040RDB-REV-A Device Tree Source
4+
*
5+
* Copyright 2014 - 2015 Freescale Semiconductor Inc.
6+
*
7+
*/
8+
9+
#include "t1040rdb.dts"
10+
11+
/ {
12+
model = "fsl,T1040RDB-REV-A";
13+
compatible = "fsl,T1040RDB-REV-A";
14+
};
15+
16+
&seville_port0 {
17+
label = "ETH5";
18+
};
19+
20+
&seville_port2 {
21+
label = "ETH7";
22+
};
23+
24+
&seville_port4 {
25+
label = "ETH9";
26+
};
27+
28+
&seville_port6 {
29+
label = "ETH11";
30+
};

arch/powerpc/boot/dts/fsl/t1040rdb.dts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@
119119
managed = "in-band-status";
120120
phy-handle = <&phy_qsgmii_0>;
121121
phy-mode = "qsgmii";
122-
label = "ETH5";
122+
label = "ETH3";
123123
status = "okay";
124124
};
125125

@@ -135,7 +135,7 @@
135135
managed = "in-band-status";
136136
phy-handle = <&phy_qsgmii_2>;
137137
phy-mode = "qsgmii";
138-
label = "ETH7";
138+
label = "ETH5";
139139
status = "okay";
140140
};
141141

@@ -151,7 +151,7 @@
151151
managed = "in-band-status";
152152
phy-handle = <&phy_qsgmii_4>;
153153
phy-mode = "qsgmii";
154-
label = "ETH9";
154+
label = "ETH7";
155155
status = "okay";
156156
};
157157

@@ -167,7 +167,7 @@
167167
managed = "in-band-status";
168168
phy-handle = <&phy_qsgmii_6>;
169169
phy-mode = "qsgmii";
170-
label = "ETH11";
170+
label = "ETH9";
171171
status = "okay";
172172
};
173173

0 commit comments

Comments
 (0)