]> git.ipfire.org Git - thirdparty/openwrt.git/commitdiff
ramips: mt7621: rename Asus RT-AC57U to v1 12506/head
authorFelix Baumann <felix.bau@gmx.de>
Sun, 30 Apr 2023 20:36:09 +0000 (22:36 +0200)
committerHauke Mehrtens <hauke@hauke-m.de>
Sat, 6 May 2023 18:55:59 +0000 (20:55 +0200)
rename RT-AC57U to avoid confusion with unsupported revisions 2 and 3

Signed-off-by: Felix Baumann <felix.bau@gmx.de>
target/linux/ramips/dts/mt7621_asus_rt-ac57u-v1.dts [moved from target/linux/ramips/dts/mt7621_asus_rt-ac57u.dts with 97% similarity]
target/linux/ramips/image/mt7621.mk

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 4e8c68ddf16974ca8fe59708e328e34044916c3d..bb1c86c2d5df8330938dc8508fcecf360bd9b711 100644 (file)
@@ -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;
index 135febe3a6d40340c96d293d1abe975a794580f5..3e910e88f695f46f9045062782dd849d269d9e34 100644 (file)
@@ -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)