ath79: mikrotik: add RB912UAG-5HPnD as alternative name
authorLech Perczak <lech.perczak@gmail.com>
Sat, 18 Nov 2023 15:53:20 +0000 (16:53 +0100)
committerHauke Mehrtens <hauke@hauke-m.de>
Sun, 7 Jan 2024 00:18:18 +0000 (01:18 +0100)
Image for RB912UAG-2HPnD supports the 5GHz variant without
modifications. Add it as alternative name, so it can be found easier.
While at that, adjust board display name in device tree, to reflect
that.

Signed-off-by: Lech Perczak <lech.perczak@gmail.com>
target/linux/ath79/dts/ar9342_mikrotik_routerboard-912uag-2hpnd.dts
target/linux/ath79/image/mikrotik.mk

index 121a5d0396a9a648edce2e792af26781ad76f463..b550026f071615c99dd05fcdf665d7ec32883a09 100644 (file)
@@ -7,7 +7,7 @@
 
 / {
        compatible = "mikrotik,routerboard-912uag-2hpnd", "qca,ar9342";
-       model = "MikroTik RouterBOARD 912UAG-2HPnD";
+       model = "MikroTik RouterBOARD 912UAG-(2,5)HPnD";
 
        aliases {
                led-boot = &led_power;
index d26420c7f54c4b600b44af9272ae87bc54534ebe..fb98ccc1223db005b206557ef7b8ef307e5812a5 100644 (file)
@@ -32,6 +32,8 @@ define Device/mikrotik_routerboard-912uag-2hpnd
   $(Device/mikrotik_nand)
   SOC := ar9342
   DEVICE_MODEL := RouterBOARD 912UAG-2HPnD
+  DEVICE_ALT0_VENDOR := Mikrotik
+  DEVICE_ALT0_MODEL := RouterBOARD 912UAG-5HPnD
   DEVICE_PACKAGES += kmod-usb-ehci kmod-usb2
   SUPPORTED_DEVICES += rb-912uag-2hpnd
 endef