From d13d513b9f14b29175c15a8945e2ad772665e821 Mon Sep 17 00:00:00 2001 From: Lech Perczak Date: Sat, 18 Nov 2023 16:53:20 +0100 Subject: [PATCH] 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 --- .../ath79/dts/ar9342_mikrotik_routerboard-912uag-2hpnd.dts | 2 +- target/linux/ath79/image/mikrotik.mk | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/target/linux/ath79/dts/ar9342_mikrotik_routerboard-912uag-2hpnd.dts b/target/linux/ath79/dts/ar9342_mikrotik_routerboard-912uag-2hpnd.dts index 121a5d0396a9..b550026f0716 100644 --- a/target/linux/ath79/dts/ar9342_mikrotik_routerboard-912uag-2hpnd.dts +++ b/target/linux/ath79/dts/ar9342_mikrotik_routerboard-912uag-2hpnd.dts @@ -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; diff --git a/target/linux/ath79/image/mikrotik.mk b/target/linux/ath79/image/mikrotik.mk index d26420c7f54c..fb98ccc1223d 100644 --- a/target/linux/ath79/image/mikrotik.mk +++ b/target/linux/ath79/image/mikrotik.mk @@ -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 -- 2.30.2