[openwrt/openwrt] ramips: mt7621: rename Asus RT-AC57U to v1

LEDE Commits lede-commits at lists.infradead.org
Sat May 6 11:58:03 PDT 2023


hauke pushed a commit to openwrt/openwrt.git, branch master:
https://git.openwrt.org/ed1217eac188b8d4649730b8cf6d35eac6dcd1a8

commit ed1217eac188b8d4649730b8cf6d35eac6dcd1a8
Author: Felix Baumann <felix.bau at gmx.de>
AuthorDate: Sun Apr 30 22:36:09 2023 +0200

    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 <felix.bau at gmx.de>
---
 .../dts/{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(-)

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 <dt-bindings/input/input.h>
 
 / {
-	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)




More information about the lede-commits mailing list