[openwrt/openwrt] ixp4xx: fix bug in Actiontec DTS file

LEDE Commits lede-commits at lists.infradead.org
Sun Jan 4 09:21:07 PST 2026


hauke pushed a commit to openwrt/openwrt.git, branch openwrt-25.12:
https://git.openwrt.org/ed2d3b143c4d065a22b4eed11edc45275cbe686b

commit ed2d3b143c4d065a22b4eed11edc45275cbe686b
Author: Linus Walleij <linusw at kernel.org>
AuthorDate: Fri Jan 2 21:15:28 2026 +0100

    ixp4xx: fix bug in Actiontec DTS file
    
    This misassigned ethernet port bug was merged in the upstream
    kernel.
    
    Link: https://github.com/openwrt/openwrt/pull/21367
    Signed-off-by: Linus Walleij <linusw at kernel.org>
    (cherry picked from commit b73fd273b38cb0ad6ae856b2b7e4d192f4f11698)
---
 ...ixp4xx-Fix-up-Actiontec-MI424WR-DTS-files.patch | 70 ++++++++++++++++++++++
 1 file changed, 70 insertions(+)

diff --git a/target/linux/ixp4xx/patches-6.12/0006-v6.19-ARM-dts-ixp4xx-Fix-up-Actiontec-MI424WR-DTS-files.patch b/target/linux/ixp4xx/patches-6.12/0006-v6.19-ARM-dts-ixp4xx-Fix-up-Actiontec-MI424WR-DTS-files.patch
new file mode 100644
index 0000000000..2cdabfada3
--- /dev/null
+++ b/target/linux/ixp4xx/patches-6.12/0006-v6.19-ARM-dts-ixp4xx-Fix-up-Actiontec-MI424WR-DTS-files.patch
@@ -0,0 +1,70 @@
+From ececfba255bf3616301419e47a5c824e04b60ab8 Mon Sep 17 00:00:00 2001
+From: Linus Walleij <linusw at kernel.org>
+Date: Thu, 11 Dec 2025 14:05:01 +0100
+Subject: [PATCH] ARM: dts: ixp4xx: Fix up Actiontec MI424WR DTS files
+
+The KS8995 switch was unconditionally wired to EthC (eth1)
+on both MI424WR variants, this is wrong: the D revision has
+the switch connected to EthB (eth0) so pull this assingment
+out of the generic MI424WR DTSI file and make it a property
+of the respective variants instead.
+
+Signed-off-by: Linus Walleij <linusw at kernel.org>
+Link: https://patch.msgid.link/20251211-ixp4xx-actiontec-dts-fix-v1-1-97af8e79d474@kernel.org
+Signed-off-by: Krzysztof Kozlowski <krzk at kernel.org>
+---
+ .../intel/ixp/intel-ixp42x-actiontec-mi424wr-ac.dts   | 11 +++++++++++
+ .../intel/ixp/intel-ixp42x-actiontec-mi424wr-d.dts    | 11 +++++++++++
+ .../dts/intel/ixp/intel-ixp42x-actiontec-mi424wr.dtsi |  1 -
+ 3 files changed, 22 insertions(+), 1 deletion(-)
+
+--- a/arch/arm/boot/dts/intel/ixp/intel-ixp42x-actiontec-mi424wr-ac.dts
++++ b/arch/arm/boot/dts/intel/ixp/intel-ixp42x-actiontec-mi424wr-ac.dts
+@@ -12,6 +12,17 @@
+ 	model = "Actiontec MI424WR rev A/C";
+ 	compatible = "actiontec,mi424wr-ac", "intel,ixp42x";
+ 
++	/* Connect the switch to EthC */
++	spi {
++		ethernet-switch at 0 {
++			ethernet-ports {
++				ethernet-port at 4 {
++					ethernet = <&ethc>;
++				};
++			};
++		};
++	};
++
+ 	soc {
+ 		/* EthB used for WAN */
+ 		ethernet at c8009000 {
+--- a/arch/arm/boot/dts/intel/ixp/intel-ixp42x-actiontec-mi424wr-d.dts
++++ b/arch/arm/boot/dts/intel/ixp/intel-ixp42x-actiontec-mi424wr-d.dts
+@@ -12,6 +12,17 @@
+ 	model = "Actiontec MI424WR rev D";
+ 	compatible = "actiontec,mi424wr-d", "intel,ixp42x";
+ 
++	/* Connect the switch to EthB */
++	spi {
++		ethernet-switch at 0 {
++			ethernet-ports {
++				ethernet-port at 4 {
++					ethernet = <&ethb>;
++				};
++			};
++		};
++	};
++
+ 	soc {
+ 		/* EthB used for LAN */
+ 		ethernet at c8009000 {
+--- a/arch/arm/boot/dts/intel/ixp/intel-ixp42x-actiontec-mi424wr.dtsi
++++ b/arch/arm/boot/dts/intel/ixp/intel-ixp42x-actiontec-mi424wr.dtsi
+@@ -152,7 +152,6 @@
+ 				};
+ 				ethernet-port at 4 {
+ 					reg = <4>;
+-					ethernet = <&ethc>;
+ 					phy-mode = "mii";
+ 					fixed-link {
+ 						speed = <100>;




More information about the lede-commits mailing list