Skip to content

Commit 8b322f9

Browse files
vladimirolteankuba-moo
authored andcommitted
powerpc: dts: t1040rdb: enable both CPU ports
Since commit eca7010 ("net: dsa: felix: add support for changing DSA master") included in kernel v6.1, the driver supports 2 CPU ports, and they can be put in a LAG, for example (see Documentation/networking/dsa/configuration.rst for more details). Defining the second CPU port in the device tree should not cause any compatibility issue, because the default CPU port was &seville_port8 before this change, and still is &seville_port8 now (the numerically first CPU port is used by default). Signed-off-by: Vladimir Oltean <[email protected]> Signed-off-by: Jakub Kicinski <[email protected]>
1 parent ae44f1c commit 8b322f9

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

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

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -180,6 +180,9 @@
180180
};
181181

182182
&seville_port8 {
183-
ethernet = <&enet0>;
183+
status = "okay";
184+
};
185+
186+
&seville_port9 {
184187
status = "okay";
185188
};

arch/powerpc/boot/dts/fsl/t1040si-post.dtsi

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -686,6 +686,7 @@
686686
seville_port8: port@8 {
687687
reg = <8>;
688688
phy-mode = "internal";
689+
ethernet = <&enet0>;
689690
status = "disabled";
690691

691692
fixed-link {
@@ -697,6 +698,7 @@
697698
seville_port9: port@9 {
698699
reg = <9>;
699700
phy-mode = "internal";
701+
ethernet = <&enet1>;
700702
status = "disabled";
701703

702704
fixed-link {

0 commit comments

Comments
 (0)