aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux
diff options
context:
space:
mode:
authorJan-Niklas Burfeind <git@aiyionpri.me>2022-07-11 22:43:00 +0200
committerHauke Mehrtens <hauke@hauke-m.de>2022-08-06 20:15:30 +0200
commit75dffdc8cf78ecbb73b25169ba6ad05fff48acaf (patch)
treeed8b8fe1c98fca56211c931f16ac72d67e312ff9 /target/linux
parent50e1f3d84db6fce48dd094f31cb55197db4c0d55 (diff)
downloadupstream-75dffdc8cf78ecbb73b25169ba6ad05fff48acaf.tar.gz
upstream-75dffdc8cf78ecbb73b25169ba6ad05fff48acaf.tar.bz2
upstream-75dffdc8cf78ecbb73b25169ba6ad05fff48acaf.zip
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@aiyionpri.me>
Diffstat (limited to 'target/linux')
-rw-r--r--target/linux/ath79/dts/ar7241_ubnt_unifi-ap-lr.dts8
-rw-r--r--target/linux/ath79/image/generic-ubnt.mk8
2 files changed, 16 insertions, 0 deletions
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