From 51abd131d1acaaf7f7eb487376309ce52b814f81 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jakub=20Van=C4=9Bk?= Date: Tue, 3 Mar 2026 22:41:28 +0100 Subject: [PATCH] mediatek: filogic: rename Cudy M3000 v1 to v1/v2 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The Cudy M3000 v1/v2 seem to have mostly identical hardware. The M3000 v1 OpenWrt images work on the M3000 v2 (excluding the v2 parts with a different PHY). Cudy also distributes one firmware image that supports both routers. Rename the human-readable device variant to "v1/v2" to match this. Don't change the compatible property as that hooks into the attended sysupgrade process. The recent flash and PHY changes don't seem to be related to the v1/v2 split. There exist M3000 v2 with the Realtek PHY, see e.g. https://github.com/openwrt/openwrt/pull/21584#issuecomment-3864992555 Signed-off-by: Jakub Vaněk Link: https://github.com/openwrt/openwrt/pull/22259 Signed-off-by: Hauke Mehrtens --- target/linux/mediatek/dts/mt7981b-cudy-m3000-v1.dts | 2 +- target/linux/mediatek/image/filogic.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/target/linux/mediatek/dts/mt7981b-cudy-m3000-v1.dts b/target/linux/mediatek/dts/mt7981b-cudy-m3000-v1.dts index 05e7d57045..885437e49a 100644 --- a/target/linux/mediatek/dts/mt7981b-cudy-m3000-v1.dts +++ b/target/linux/mediatek/dts/mt7981b-cudy-m3000-v1.dts @@ -5,7 +5,7 @@ #include "mt7981b-cudy-m3000.dtsi" / { - model = "Cudy M3000 v1"; + model = "Cudy M3000 v1/v2"; compatible = "cudy,m3000-v1", "mediatek,mt7981"; }; diff --git a/target/linux/mediatek/image/filogic.mk b/target/linux/mediatek/image/filogic.mk index 3d2eee88a5..29c8c3d657 100644 --- a/target/linux/mediatek/image/filogic.mk +++ b/target/linux/mediatek/image/filogic.mk @@ -1128,7 +1128,7 @@ TARGET_DEVICES += cudy_ap3000-v1 define Device/cudy_m3000-v1 DEVICE_VENDOR := Cudy DEVICE_MODEL := M3000 - DEVICE_VARIANT := v1 + DEVICE_VARIANT := v1/v2 DEVICE_DTS := mt7981b-cudy-m3000-v1 DEVICE_DTS_DIR := ../dts SUPPORTED_DEVICES += R37