Hardware
Atheros AR7241
16M SPI-NOR
64M DDR2
Atheros AR9283 2T2R b/g/n
2x Fast Ethernet (built-in)
Installation
Transfer the Firmware update to the device using SCP.
Install using fwupdate.real -m -d
Signed-off-by: David Bauer
---
.../dts/ar7241_ubnt_unifi-ap-outdoor-plus.dts | 102 ++
target/linux/ath79/dts/ar7241_ubnt_unifi.dts | 45 +---
target/linux/ath79/dts/ar7241_ubnt_unifi.dtsi | 52 +
.../generic/base-files/etc/board.d/02_network | 3 +-
.../etc/hotplug.d/firmware/10-ath9k-eeprom| 3 +-
target/linux/ath79/image/generic-ubnt.mk | 30 --
6 files changed, 180 insertions(+), 55 deletions(-)
create mode 100644 target/linux/ath79/dts/ar7241_ubnt_unifi-ap-outdoor-plus.dts
create mode 100644 target/linux/ath79/dts/ar7241_ubnt_unifi.dtsi
diff --git a/target/linux/ath79/dts/ar7241_ubnt_unifi-ap-outdoor-plus.dts
b/target/linux/ath79/dts/ar7241_ubnt_unifi-ap-outdoor-plus.dts
new file mode 100644
index 00..936850b7df
--- /dev/null
+++ b/target/linux/ath79/dts/ar7241_ubnt_unifi-ap-outdoor-plus.dts
@@ -0,0 +1,102 @@
+// SPDX-License-Identifier: GPL-2.0-or-later OR MIT
+
+#include "ar7241_ubnt_unifi.dtsi"
+
+/ {
+ compatible = "ubnt,unifi-ap-outdoor-plus", "qca,ar7241";
+ model = "Ubiquiti UniFi AP Outdoor+";
+
+ aliases {
+ led-boot = &led_white;
+ led-failsafe = &led_white;
+ led-running = &led_white;
+ led-upgrade = &led_white;
+ };
+
+ leds {
+ compatible = "gpio-leds";
+
+ led_white: white {
+ label = "blue";
+ gpios = <&gpio 0 GPIO_ACTIVE_HIGH>;
+ };
+
+ blue {
+ label = "white";
+ gpios = <&gpio 1 GPIO_ACTIVE_HIGH>;
+ };
+ };
+};
+
+&spi {
+ status = "okay";
+
+ flash@0 {
+ compatible = "jedec,spi-nor";
+ reg = <0>;
+ spi-max-frequency = <5000>;
+
+ partitions {
+ compatible = "fixed-partitions";
+ #address-cells = <1>;
+ #size-cells = <1>;
+
+ uboot: partition@0 {
+ label = "u-boot";
+ reg = <0x0 0x4>;
+ read-only;
+ };
+
+ partition@4 {
+ label = "u-boot-env";
+ reg = <0x4 0x1>;
+ read-only;
+ };
+
+ partition@5 {
+ label = "firmware";
+ reg = <0x5 0xf6>;
+
+ compatible = "fixed-partitions";
+ #address-cells = <1>;
+ #size-cells = <1>;
+
+ partition@0 {
+ label = "kernel";
+ reg = <0x0 0x30>;
+ /* Can be resized w/o issues.
+* U-Boot can load kernel from the
+* entirety of the "firmware" partition
space.
+*/
+ };
+
+ partition@30 {
+ label = "rootfs";
+ reg = <0x30 0xc6>;
+ };
+ };
+
+ partition@fb {
+ label = "cfg";
+ reg = <0xfb 0x4>;
+ read-only;
+ };
+
+ art: partition@ff {
+ label = "art";
+ reg = <0xff 0x1>;
+ read-only;
+ };
+ };
+ };
+};
+
+ð1 {
+ status = "okay";
+
+ mtd-mac-address = <&art 0x6>;
+};
+
+&wifi {
+ ath9k,ubnt-hsr;
+};
diff --git a/target/linux/ath79/dts/ar7241_ubnt_unifi.dts
b/target/linux/ath79/dts/ar7241_ubnt_unifi.dts
index bdb4c61a48..287e8cc7db 100644
--- a/target/linux/ath79/dts/ar7241_ubnt_unifi.dts
+++ b/target/linux/ath79/dts/ar7241_ubnt_unifi.dts
@@ -1,9 +1,6 @@
// SPDX-License-Identifier: GPL-2.0-or-later OR MIT
-#include "ar7241.dtsi"
-
-#include
-#include
+#include "ar7241_ubnt_unifi.dtsi"
/ {
compatible = "ubnt,unifi", "qca,ar7241";
@@ -14,23 +11,6 @@
led-failsafe = &led_dome_green;
led-running = &led_dome_green;
led-upgrade = &led_dome_green;
- label-mac-device = &wifi;
-