mirror of https://github.com/aredn/aredn.git
Powerbeam 5AC 400 support (#765)
* Support PowerBeam 5AC 400 * Supported info
This commit is contained in:
parent
5657bfcdf8
commit
954cd70ebf
|
@ -68,7 +68,9 @@ NanoStation M5 XM || 5 | ath79 | tiny (2) | ubnt_nanostation-m | 32MB | stable |
|
|||
NanoStation M2 XW || 2 | ath79 | generic | ubnt_nanostation-m-xw | 64MB | stable | released
|
||||
NanoStation M5 XW || 5 | ath79 | generic | ubnt_nanostation-m-xw | 64MB | stable | released
|
||||
PicoStation M2 || 2 | ath79 | tiny (2) | ubnt_picostation-m | 32MB | unknown | sunset
|
||||
PowerBeam AC 5 500 | PBE-5AC-500 <br> PBE-5AC-500-US| 5 | ath79 | generic | ubnt_powerbeam-5ac-500 | 128MB | stable | nightly
|
||||
PowerBeam AC 5 Gen2 || 5 | ath79 | generic | ubnt_powerbeam-5ac-gen2 | 128MB | unknown | nightly
|
||||
PowerBeam AC 5 400 || 5 | ath79 | generic | ubnt_powerbeam-5ac-400 | 128MB | unknown | nightly
|
||||
PowerBeam AC 5 500 | PBE-5AC-500 <br> PBE-5AC-500-US | 5 | ath79 | generic | ubnt_powerbeam-5ac-500 | 128MB | stable | nightly
|
||||
PowerBeam-M2-400 || 2 | ath79 | generic | ubnt_powerbeam-m2-xw | 64MB | stable | released
|
||||
PowerBeam-M5-300 || 5 | ath79 | generic | ubnt_powerbeam-m5-300 | 64MB | stable | released
|
||||
PowerBeam-M5-400 || 5 | ath79 | generic | ubnt_powerbeam-m5-xw | 64MB | stable | released
|
||||
|
|
|
@ -37,6 +37,7 @@ CONFIG_TARGET_DEVICE_ath79_generic_DEVICE_ubnt_nanostation-m-xw=y
|
|||
CONFIG_TARGET_DEVICE_ath79_generic_DEVICE_ubnt_powerbeam-m5-300=y
|
||||
CONFIG_TARGET_DEVICE_ath79_generic_DEVICE_ubnt_powerbeam-m2-xw=y
|
||||
CONFIG_TARGET_DEVICE_ath79_generic_DEVICE_ubnt_powerbeam-m5-xw=y
|
||||
CONFIG_TARGET_DEVICE_ath79_generic_DEVICE_ubnt_powerbeam-5ac-400=y
|
||||
CONFIG_TARGET_DEVICE_ath79_generic_DEVICE_ubnt_powerbeam-5ac-500=y
|
||||
CONFIG_TARGET_DEVICE_ath79_generic_DEVICE_ubnt_powerbeam-5ac-gen2=y
|
||||
CONFIG_TARGET_DEVICE_ath79_generic_DEVICE_ubnt_powerbridge-m=y
|
||||
|
|
|
@ -934,6 +934,15 @@
|
|||
"usechains" : true,
|
||||
"rfband" : "5800ubntus"
|
||||
},
|
||||
"0xe7f5": {
|
||||
"name" : "Ubiquiti PowerBeam 5AC 400",
|
||||
"comment" : "",
|
||||
"supported" : "1",
|
||||
"maxpower" : "23",
|
||||
"pwroffset" : "1",
|
||||
"usechains" : true,
|
||||
"rfband" : "5800ubntus"
|
||||
},
|
||||
"0xe3e5" : {
|
||||
"name" : "Ubiquiti PowerBeam M5 XW 300",
|
||||
"comment" : "",
|
||||
|
|
|
@ -91,3 +91,81 @@
|
|||
ubnt,nanostation-ac-loco|\
|
||||
ubnt,nanostation-loco-m-xw|\
|
||||
ubnt,powerbeam-5ac-500|\
|
||||
--- a/target/linux/ath79/image/generic-ubnt.mk
|
||||
+++ b/target/linux/ath79/image/generic-ubnt.mk
|
||||
@@ -165,6 +165,14 @@
|
||||
endef
|
||||
TARGET_DEVICES += ubnt_powerbeam-5ac-gen2
|
||||
|
||||
+define Device/ubnt_powerbeam-5ac-400
|
||||
+ $(Device/ubnt-wa)
|
||||
+ DEVICE_MODEL := PowerBeam 5AC 400
|
||||
+ DEVICE_VARIANT := 400
|
||||
+ DEVICE_PACKAGES := kmod-ath10k-ct-smallbuffers ath10k-firmware-qca988x-ct rssileds
|
||||
+endef
|
||||
+TARGET_DEVICES += ubnt_powerbeam-5ac-400
|
||||
+
|
||||
define Device/ubnt_powerbeam-m2-xw
|
||||
$(Device/ubnt-xw)
|
||||
DEVICE_MODEL := PowerBeam M2
|
||||
--- /dev/null
|
||||
+++ b/target/linux/ath79/dts/ar9342_ubnt_powerbeam-5ac-400.dts
|
||||
@@ -0,0 +1,38 @@
|
||||
+// SPDX-License-Identifier: GPL-2.0-only
|
||||
+
|
||||
+#include "ar9342_ubnt_wa_1port.dtsi"
|
||||
+
|
||||
+/ {
|
||||
+ compatible = "ubnt,powerbeam-5ac-400", "ubnt,wa", "qca,ar9342";
|
||||
+ model = "Ubiquiti PowerBeam 5AC 400";
|
||||
+
|
||||
+ aliases {
|
||||
+ led-boot = &led_rssi3;
|
||||
+ led-failsafe = &led_rssi3;
|
||||
+ led-upgrade = &led_rssi3;
|
||||
+ };
|
||||
+
|
||||
+ leds {
|
||||
+ compatible = "gpio-leds";
|
||||
+
|
||||
+ rssi0 {
|
||||
+ label = "blue:rssi0";
|
||||
+ gpios = <&gpio 11 GPIO_ACTIVE_LOW>;
|
||||
+ };
|
||||
+
|
||||
+ rssi1 {
|
||||
+ label = "blue:rssi1";
|
||||
+ gpios = <&gpio 16 GPIO_ACTIVE_LOW>;
|
||||
+ };
|
||||
+
|
||||
+ rssi2 {
|
||||
+ label = "blue:rssi2";
|
||||
+ gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
|
||||
+ };
|
||||
+
|
||||
+ led_rssi3: rssi3 {
|
||||
+ label = "blue:rssi3";
|
||||
+ gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
|
||||
+ };
|
||||
+ };
|
||||
+};
|
||||
--- a/target/linux/ath79/generic/base-files/etc/board.d/02_network
|
||||
+++ b/target/linux/ath79/generic/base-files/etc/board.d/02_network
|
||||
@@ -101,6 +101,7 @@
|
||||
ubnt,nanostation-ac-loco|\
|
||||
ubnt,nanostation-loco-m-xw|\
|
||||
ubnt,powerbeam-5ac-500|\
|
||||
+ ubnt,powerbeam-5ac-400|\
|
||||
ubnt,powerbeam-5ac-gen2|\
|
||||
ubnt,powerbeam-m2-xw|\
|
||||
ubnt,powerbeam-m5-xw|\
|
||||
--- a/target/linux/ath79/generic/base-files/etc/hotplug.d/firmware/11-ath10k-caldata
|
||||
+++ b/target/linux/ath79/generic/base-files/etc/hotplug.d/firmware/11-ath10k-caldata
|
||||
@@ -47,6 +47,7 @@
|
||||
ubnt,nanobeam-ac-xc|\
|
||||
ubnt,nanostation-ac|\
|
||||
ubnt,nanostation-ac-loco|\
|
||||
+ ubnt,powerbeam-5ac-400|\
|
||||
ubnt,powerbeam-5ac-500|\
|
||||
ubnt,powerbeam-5ac-gen2|\
|
||||
ubnt,rocket-5ac-lite|\
|
||||
|
|
Loading…
Reference in New Issue