1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
3 #include "qca955x.dtsi"
5 #include <dt-bindings/gpio/gpio.h>
6 #include <dt-bindings/input/input.h>
7 #include <dt-bindings/mtd/partitions/uimage.h>
10 model = "ALLNET ALL-WAP02860AC";
11 compatible = "allnet,all-wap02860ac", "qca,qca9558";
14 label-mac-device = ð0;
15 led-boot = &led_power;
16 led-failsafe = &led_power;
17 led-running = &led_power;
18 led-upgrade = &led_power;
22 compatible = "gpio-keys";
26 linux,code = <KEY_RESTART>;
27 gpios = <&gpio 17 GPIO_ACTIVE_LOW>;
32 compatible = "gpio-leds";
35 label = "amber:power";
36 gpios = <&gpio 22 GPIO_ACTIVE_LOW>;
41 label = "blue:wlan2g";
42 gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
43 linux,default-trigger = "phy1tpt";
47 label = "green:wlan5g";
48 gpios = <&gpio 23 GPIO_ACTIVE_LOW>;
49 linux,default-trigger = "phy0tpt";
54 gpios = <&gpio 19 GPIO_ACTIVE_LOW>;
59 compatible = "mtd-concat";
61 devices = <&fwconcat0 &fwconcat1>;
64 compatible = "fixed-partitions";
69 compatible = "openwrt,uimage", "denx,uimage";
70 openwrt,ih-magic = <0x73714f4b>;
81 pll-data = <0x8e000000 0x80000101 0x80001313>;
83 phy-mode = "rgmii-rxid";
85 mtd-mac-address = <&art 0x0>;
91 phy5: ethernet-phy@5 {
102 compatible = "qcom,ath10k";
115 compatible = "jedec,spi-nor";
117 spi-max-frequency = <25000000>;
120 compatible = "fixed-partitions";
121 #address-cells = <1>;
126 reg = <0x000000 0x040000>;
131 label = "u-boot-env";
132 reg = <0x040000 0x010000>;
137 reg = <0x050000 0x050000>;
143 reg = <0x0a0000 0x010000>;
146 fwconcat1: partition@b0000 {
148 reg = <0x0b0000 0x170000>;
151 fwconcat0: partition@220000 {
153 reg = <0x220000 0xb50000>;
158 reg = <0xd70000 0x280000>;
162 art: partition@ff0000 {
164 reg = <0xff0000 0x010000>;
174 mtd-cal-data = <&art 0x1000>;
175 mtd-mac-address = <&art 0x0>;
176 mtd-mac-address-increment = <1>;