|
| 1 | +From ececfba255bf3616301419e47a5c824e04b60ab8 Mon Sep 17 00:00:00 2001 |
| 2 | +From: Linus Walleij <linusw@kernel.org> |
| 3 | +Date: Thu, 11 Dec 2025 14:05:01 +0100 |
| 4 | +Subject: [PATCH] ARM: dts: ixp4xx: Fix up Actiontec MI424WR DTS files |
| 5 | + |
| 6 | +The KS8995 switch was unconditionally wired to EthC (eth1) |
| 7 | +on both MI424WR variants, this is wrong: the D revision has |
| 8 | +the switch connected to EthB (eth0) so pull this assingment |
| 9 | +out of the generic MI424WR DTSI file and make it a property |
| 10 | +of the respective variants instead. |
| 11 | + |
| 12 | +Signed-off-by: Linus Walleij <linusw@kernel.org> |
| 13 | +Link: https://patch.msgid.link/20251211-ixp4xx-actiontec-dts-fix-v1-1-97af8e79d474@kernel.org |
| 14 | +Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org> |
| 15 | +--- |
| 16 | + .../intel/ixp/intel-ixp42x-actiontec-mi424wr-ac.dts | 11 +++++++++++ |
| 17 | + .../intel/ixp/intel-ixp42x-actiontec-mi424wr-d.dts | 11 +++++++++++ |
| 18 | + .../dts/intel/ixp/intel-ixp42x-actiontec-mi424wr.dtsi | 1 - |
| 19 | + 3 files changed, 22 insertions(+), 1 deletion(-) |
| 20 | + |
| 21 | +--- a/arch/arm/boot/dts/intel/ixp/intel-ixp42x-actiontec-mi424wr-ac.dts |
| 22 | ++++ b/arch/arm/boot/dts/intel/ixp/intel-ixp42x-actiontec-mi424wr-ac.dts |
| 23 | +@@ -12,6 +12,17 @@ |
| 24 | + model = "Actiontec MI424WR rev A/C"; |
| 25 | + compatible = "actiontec,mi424wr-ac", "intel,ixp42x"; |
| 26 | + |
| 27 | ++ /* Connect the switch to EthC */ |
| 28 | ++ spi { |
| 29 | ++ ethernet-switch@0 { |
| 30 | ++ ethernet-ports { |
| 31 | ++ ethernet-port@4 { |
| 32 | ++ ethernet = <ðc>; |
| 33 | ++ }; |
| 34 | ++ }; |
| 35 | ++ }; |
| 36 | ++ }; |
| 37 | ++ |
| 38 | + soc { |
| 39 | + /* EthB used for WAN */ |
| 40 | + ethernet@c8009000 { |
| 41 | +--- a/arch/arm/boot/dts/intel/ixp/intel-ixp42x-actiontec-mi424wr-d.dts |
| 42 | ++++ b/arch/arm/boot/dts/intel/ixp/intel-ixp42x-actiontec-mi424wr-d.dts |
| 43 | +@@ -12,6 +12,17 @@ |
| 44 | + model = "Actiontec MI424WR rev D"; |
| 45 | + compatible = "actiontec,mi424wr-d", "intel,ixp42x"; |
| 46 | + |
| 47 | ++ /* Connect the switch to EthB */ |
| 48 | ++ spi { |
| 49 | ++ ethernet-switch@0 { |
| 50 | ++ ethernet-ports { |
| 51 | ++ ethernet-port@4 { |
| 52 | ++ ethernet = <ðb>; |
| 53 | ++ }; |
| 54 | ++ }; |
| 55 | ++ }; |
| 56 | ++ }; |
| 57 | ++ |
| 58 | + soc { |
| 59 | + /* EthB used for LAN */ |
| 60 | + ethernet@c8009000 { |
| 61 | +--- a/arch/arm/boot/dts/intel/ixp/intel-ixp42x-actiontec-mi424wr.dtsi |
| 62 | ++++ b/arch/arm/boot/dts/intel/ixp/intel-ixp42x-actiontec-mi424wr.dtsi |
| 63 | +@@ -152,7 +152,6 @@ |
| 64 | + }; |
| 65 | + ethernet-port@4 { |
| 66 | + reg = <4>; |
| 67 | +- ethernet = <ðc>; |
| 68 | + phy-mode = "mii"; |
| 69 | + fixed-link { |
| 70 | + speed = <100>; |
0 commit comments