aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ath79/dts
diff options
context:
space:
mode:
authorMichael Pratt <mcpratt@pm.me>2021-02-12 18:58:00 -0500
committerPetr Štetiar <ynezz@true.cz>2021-04-08 09:20:59 +0200
commit37ea5d9a658a15783b0ac68583db9e67a43e960d (patch)
tree260e6a809f15fc371e6cb541bbf546575db6dcfe /target/linux/ath79/dts
parentd5035f0d2694cb9c5a93ed72e3b6d2dd1770741e (diff)
downloadupstream-37ea5d9a658a15783b0ac68583db9e67a43e960d.tar.gz
upstream-37ea5d9a658a15783b0ac68583db9e67a43e960d.tar.bz2
upstream-37ea5d9a658a15783b0ac68583db9e67a43e960d.zip
ath79: add factory.bin for ALLNET ALL-WAP02860AC
This device is a Senao-based product using hardware and software from Senao with the tar-gz platform for factory.bin and checksum verification at boot time using variables stored in uboot environment and a 'failsafe' image when it fails. Extremely similar hardware/software to Engenius EAP1200H and other Engenius APs with qca955x Tested-by: Tomasz Maciej Nowak <tmn505@gmail.com> Signed-off-by: Michael Pratt <mcpratt@pm.me>
Diffstat (limited to 'target/linux/ath79/dts')
-rw-r--r--target/linux/ath79/dts/qca9558_allnet_all-wap02860ac.dts35
1 files changed, 32 insertions, 3 deletions
diff --git a/target/linux/ath79/dts/qca9558_allnet_all-wap02860ac.dts b/target/linux/ath79/dts/qca9558_allnet_all-wap02860ac.dts
index ba6be49fce..3afbc04ddf 100644
--- a/target/linux/ath79/dts/qca9558_allnet_all-wap02860ac.dts
+++ b/target/linux/ath79/dts/qca9558_allnet_all-wap02860ac.dts
@@ -4,6 +4,7 @@
#include <dt-bindings/gpio/gpio.h>
#include <dt-bindings/input/input.h>
+#include <dt-bindings/mtd/partitions/uimage.h>
/ {
model = "ALLNET ALL-WAP02860AC";
@@ -53,6 +54,25 @@
gpios = <&gpio 19 GPIO_ACTIVE_LOW>;
};
};
+
+ virtual_flash {
+ compatible = "mtd-concat";
+
+ devices = <&fwconcat0 &fwconcat1>;
+
+ partitions {
+ compatible = "fixed-partitions";
+ #address-cells = <1>;
+ #size-cells = <1>;
+
+ partition@0 {
+ compatible = "openwrt,uimage", "denx,uimage";
+ openwrt,ih-magic = <0x73714f4b>;
+ label = "firmware";
+ reg = <0x0 0x0>;
+ };
+ };
+ };
};
&eth0 {
@@ -119,9 +139,18 @@
};
partition@a0000 {
- compatible = "denx,uimage";
- label = "firmware";
- reg = <0x0a0000 0xcd0000>;
+ label = "loader";
+ reg = <0x0a0000 0x010000>;
+ };
+
+ fwconcat1: partition@b0000 {
+ label = "fwconcat1";
+ reg = <0x0b0000 0x170000>;
+ };
+
+ fwconcat0: partition@220000 {
+ label = "fwconcat0";
+ reg = <0x220000 0xb50000>;
};
partition@d70000 {