From ed1217eac188b8d4649730b8cf6d35eac6dcd1a8 Mon Sep 17 00:00:00 2001 From: Felix Baumann Date: Sun, 30 Apr 2023 22:36:09 +0200 Subject: [PATCH] ramips: mt7621: rename Asus RT-AC57U to v1 rename RT-AC57U to avoid confusion with unsupported revisions 2 and 3 Signed-off-by: Felix Baumann --- ...mt7621_asus_rt-ac57u.dts => mt7621_asus_rt-ac57u-v1.dts} | 4 ++-- target/linux/ramips/image/mt7621.mk | 6 ++++-- 2 files changed, 6 insertions(+), 4 deletions(-) rename target/linux/ramips/dts/{mt7621_asus_rt-ac57u.dts => mt7621_asus_rt-ac57u-v1.dts} (97%) diff --git a/target/linux/ramips/dts/mt7621_asus_rt-ac57u.dts b/target/linux/ramips/dts/mt7621_asus_rt-ac57u-v1.dts similarity index 97% rename from target/linux/ramips/dts/mt7621_asus_rt-ac57u.dts rename to target/linux/ramips/dts/mt7621_asus_rt-ac57u-v1.dts index 4e8c68ddf1..bb1c86c2d5 100644 --- a/target/linux/ramips/dts/mt7621_asus_rt-ac57u.dts +++ b/target/linux/ramips/dts/mt7621_asus_rt-ac57u-v1.dts @@ -6,8 +6,8 @@ #include / { - compatible = "asus,rt-ac57u", "mediatek,mt7621-soc"; - model = "ASUS RT-AC57U"; + compatible = "asus,rt-ac57u-v1", "mediatek,mt7621-soc"; + model = "ASUS RT-AC57U v1"; aliases { led-boot = &led_power; diff --git a/target/linux/ramips/image/mt7621.mk b/target/linux/ramips/image/mt7621.mk index 135febe3a6..3e910e88f6 100644 --- a/target/linux/ramips/image/mt7621.mk +++ b/target/linux/ramips/image/mt7621.mk @@ -286,17 +286,19 @@ define Device/asus_rp-ac87 endef TARGET_DEVICES += asus_rp-ac87 -define Device/asus_rt-ac57u +define Device/asus_rt-ac57u-v1 $(Device/dsa-migration) DEVICE_VENDOR := ASUS DEVICE_MODEL := RT-AC57U + DEVICE_VARIANT := v1 DEVICE_ALT0_VENDOR := ASUS DEVICE_ALT0_MODEL := RT-AC1200GU IMAGE_SIZE := 16064k DEVICE_PACKAGES := kmod-mt7603 kmod-mt76x2 kmod-usb3 \ kmod-usb-ledtrig-usbport + SUPPORTED_DEVICES += asus,rt-ac57u endef -TARGET_DEVICES += asus_rt-ac57u +TARGET_DEVICES += asus_rt-ac57u-v1 define Device/asus_rt-ac65p $(Device/dsa-migration) -- 2.30.2