From f4cc539f0ced46bccd318047b005962d1d89f800 Mon Sep 17 00:00:00 2001 From: Linus Walleij Date: Tue, 16 Sep 2025 22:43:42 +0200 Subject: [PATCH] ixp4xx: Add back Actiontec MI424WR A/C/D 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 --- .../ixp4xx/base-files/etc/board.d/02_network | 10 +++++++ target/linux/ixp4xx/image/Makefile | 28 +++++++++++++++++++ 2 files changed, 38 insertions(+) diff --git a/target/linux/ixp4xx/base-files/etc/board.d/02_network b/target/linux/ixp4xx/base-files/etc/board.d/02_network index c321e3fb27..1b6db82d4f 100644 --- a/target/linux/ixp4xx/base-files/etc/board.d/02_network +++ b/target/linux/ixp4xx/base-files/etc/board.d/02_network @@ -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) diff --git a/target/linux/ixp4xx/image/Makefile b/target/linux/ixp4xx/image/Makefile index 32a16fd135..2b80476560 100644 --- a/target/linux/ixp4xx/image/Makefile +++ b/target/linux/ixp4xx/image/Makefile @@ -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 -- 2.30.2