]> git.ipfire.org Git - thirdparty/openwrt.git/commitdiff
ixp4xx: Add back Actiontec MI424WR A/C/D
authorLinus Walleij <linus.walleij@linaro.org>
Tue, 16 Sep 2025 20:43:42 +0000 (22:43 +0200)
committerLinus Walleij <linus.walleij@linaro.org>
Fri, 26 Sep 2025 21:40:40 +0000 (23:40 +0200)
Prior to the deletion of the old IXP4xx codebase we supported
Actiontec MI424WR A, C and D.

This brings back the support using the upstream device trees
from Linux.

Link: https://github.com/openwrt/openwrt/pull/20066
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
target/linux/ixp4xx/base-files/etc/board.d/02_network
target/linux/ixp4xx/image/Makefile

index c321e3fb27b4181061543d051ef50ca2dc38a0b5..1b6db82d4fe7128e9d81f6cde22df2ff798a41a4 100644 (file)
@@ -4,6 +4,16 @@
 board_config_update
 
 case "$(board_name)" in
+actiontec,mi424wr-ac)
+       # LAN ports connected to eth1 thru the KS8995 DSA switch
+       ucidef_set_interface "eth" device "eth1" protocol "none"
+       ucidef_set_interfaces_lan_wan "lan1 lan2 lan3 lan4" "eth0"
+       ;;
+actiontec,mi424wr-d)
+       # LAN ports connected to eth0 thru the KS8995 DSA switch
+       ucidef_set_interface "eth" device "eth0" protocol "none"
+       ucidef_set_interfaces_lan_wan "lan1 lan2 lan3 lan4" "eth1"
+       ;;
 freecom,fsg-3|\
 gateworks,gw2348|\
 gateworks,gw2358)
index 32a16fd1355cf4209421ace1d2366fbeb1b3e4f6..2b804765600c1181e516a4aa83858fbef2c89783 100644 (file)
@@ -46,6 +46,34 @@ define Device/Default
        BLOCKSIZE := 128k
 endef
 
+define Device/actiontec_mi424wr_ac
+       DEVICE_VENDOR := Actiontec
+       DEVICE_MODEL := MI424WR rev A/C
+       # Only 8 MB of Flash so not building by default
+       DEFAULT := n
+       DEVICE_PACKAGES := ixp4xx-microcode-ethernet kmod-dsa-ks8995
+       DEVICE_DTS := intel-ixp42x-actiontec-mi424wr-ac
+       KERNEL := kernel-bin | append-dtb
+       IMAGES := kernel.bin rootfs.bin
+       IMAGE/kernel.bin := append-kernel
+       IMAGE/rootfs.bin := append-rootfs | pad-rootfs | pad-to 128k
+endef
+TARGET_DEVICES += actiontec_mi424wr_ac
+
+define Device/actiontec_mi424wr_d
+       DEVICE_VENDOR := Actiontec
+       DEVICE_MODEL := MI424WR rev D
+       # Only 8 MB of Flash so not building by default
+       DEFAULT := n
+       DEVICE_PACKAGES := ixp4xx-microcode-ethernet kmod-dsa-ks8995
+       DEVICE_DTS := intel-ixp42x-actiontec-mi424wr-d
+       KERNEL := kernel-bin | append-dtb
+       IMAGES := kernel.bin rootfs.bin
+       IMAGE/kernel.bin := append-kernel
+       IMAGE/rootfs.bin := append-rootfs | pad-rootfs | pad-to 128k
+endef
+TARGET_DEVICES += actiontec_mi424wr_d
+
 define Device/dlink_dsm_g600_a
        DEVICE_VENDOR := D-Link
        DEVICE_MODEL := DSM G600 A