ath79: mikrotik: add RB912UAG-5HPnD as alternative name

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>
This commit is contained in:
Lech Perczak 2023-11-18 16:53:20 +01:00 committed by Hauke Mehrtens
parent c0d7842bf2
commit d13d513b9f
2 changed files with 3 additions and 1 deletions

View 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;

View 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