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 <linuxtardis@gmail.com>
Link: https://github.com/openwrt/openwrt/pull/22259
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
#include "mt7981b-cudy-m3000.dtsi"
/ {
- model = "Cudy M3000 v1";
+ model = "Cudy M3000 v1/v2";
compatible = "cudy,m3000-v1", "mediatek,mt7981";
};
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