Skip to content

Commit

Permalink
powerpc: dts: t1040rdb: enable both CPU ports
Browse files Browse the repository at this point in the history
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 <vladimir.oltean@nxp.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
  • Loading branch information
Vladimir Oltean authored and Jakub Kicinski committed Feb 28, 2023
1 parent ae44f1c commit 8b322f9
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 4 additions & 1 deletion arch/powerpc/boot/dts/fsl/t1040rdb.dts
Original file line number Diff line number Diff line change
Expand Up @@ -180,6 +180,9 @@
};

&seville_port8 {
ethernet = <&enet0>;
status = "okay";
};

&seville_port9 {
status = "okay";
};
2 changes: 2 additions & 0 deletions arch/powerpc/boot/dts/fsl/t1040si-post.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -686,6 +686,7 @@
seville_port8: port@8 {
reg = <8>;
phy-mode = "internal";
ethernet = <&enet0>;
status = "disabled";

fixed-link {
Expand All @@ -697,6 +698,7 @@
seville_port9: port@9 {
reg = <9>;
phy-mode = "internal";
ethernet = <&enet1>;
status = "disabled";

fixed-link {
Expand Down

0 comments on commit 8b322f9

Please sign in to comment.