[openwrt/openwrt] ath79: add variant UniFi AP LR

LEDE Commits lede-commits at lists.infradead.org
Sat Aug 6 12:01:46 PDT 2022


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

commit 75dffdc8cf78ecbb73b25169ba6ad05fff48acaf
Author: Jan-Niklas Burfeind <git at aiyionpri.me>
AuthorDate: Mon Jul 11 22:43:00 2022 +0200

    ath79: add variant UniFi AP LR
    
    The hardware difference is the antenna which has a higher gain compared
    to the original UniFi AP.
    
    The variant was supported before in ar71xx.
    
    Signed-off-by: Jan-Niklas Burfeind <git at aiyionpri.me>
---
 target/linux/ath79/dts/ar7241_ubnt_unifi-ap-lr.dts | 8 ++++++++
 target/linux/ath79/image/generic-ubnt.mk           | 8 ++++++++
 2 files changed, 16 insertions(+)

diff --git a/target/linux/ath79/dts/ar7241_ubnt_unifi-ap-lr.dts b/target/linux/ath79/dts/ar7241_ubnt_unifi-ap-lr.dts
new file mode 100644
index 0000000000..ab2b455228
--- /dev/null
+++ b/target/linux/ath79/dts/ar7241_ubnt_unifi-ap-lr.dts
@@ -0,0 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0-or-later OR MIT
+
+#include "ar7241_ubnt_unifi-ap.dtsi"
+
+/ {
+	compatible = "ubnt,unifi", "qca,ar7241";
+	model = "Ubiquiti UniFi AP LR";
+};
diff --git a/target/linux/ath79/image/generic-ubnt.mk b/target/linux/ath79/image/generic-ubnt.mk
index e6a6de48f0..fe158e584b 100644
--- a/target/linux/ath79/image/generic-ubnt.mk
+++ b/target/linux/ath79/image/generic-ubnt.mk
@@ -217,6 +217,14 @@ define Device/ubnt_unifi-ap
 endef
 TARGET_DEVICES += ubnt_unifi-ap
 
+define Device/ubnt_unifi-ap-lr
+  $(Device/ubnt-bz)
+  DEVICE_MODEL := UniFi AP
+  DEVICE_VARIANT := LR
+  SUPPORTED_DEVICES += unifi ubnt,unifi ubnt,unifi-ap
+endef
+TARGET_DEVICES += ubnt_unifi-ap-lr
+
 define Device/ubnt_unifiac
   DEVICE_VENDOR := Ubiquiti
   SOC := qca9563




More information about the lede-commits mailing list