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 <linus.walleij@linaro.org>
This commit is contained in:
Linus Walleij 2025-09-16 22:43:42 +02:00
parent cfb371a796
commit f4cc539f0c
2 changed files with 38 additions and 0 deletions

View File

@ -4,6 +4,16 @@
board_config_update board_config_update
case "$(board_name)" in 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|\ freecom,fsg-3|\
gateworks,gw2348|\ gateworks,gw2348|\
gateworks,gw2358) gateworks,gw2358)

View File

@ -46,6 +46,34 @@ define Device/Default
BLOCKSIZE := 128k BLOCKSIZE := 128k
endef 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 define Device/dlink_dsm_g600_a
DEVICE_VENDOR := D-Link DEVICE_VENDOR := D-Link
DEVICE_MODEL := DSM G600 A DEVICE_MODEL := DSM G600 A