1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
5 #include <dt-bindings/gpio/gpio.h>
6 #include <dt-bindings/input/input.h>
7 #include <dt-bindings/mtd/partitions/uimage.h>
10 model = "Engenius EAP300 v2";
11 compatible = "engenius,eap300-v2", "qca,ar9341";
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 gpios = <&gpio 1 GPIO_ACTIVE_LOW>;
27 debounce-interval = <60>;
28 linux,code = <KEY_RESTART>;
33 compatible = "gpio-leds";
37 gpios = <&gpio 0 GPIO_ACTIVE_LOW>;
43 gpios = <&gpio 17 GPIO_ACTIVE_LOW>;
44 linux,default-trigger = "phy0tpt";
49 gpios = <&gpio 16 GPIO_ACTIVE_LOW>;
54 compatible = "mtd-concat";
56 devices = <&fwconcat0 &fwconcat1>;
59 compatible = "fixed-partitions";
64 compatible = "openwrt,uimage", "denx,uimage";
65 openwrt,ih-magic = <IH_MAGIC_OKLI>;
74 clock-frequency = <40000000>;
85 compatible = "jedec,spi-nor";
87 spi-max-frequency = <20000000>;
90 compatible = "fixed-partitions";
96 reg = <0x000000 0x040000>;
101 label = "u-boot-env";
102 reg = <0x040000 0x010000>;
107 reg = <0x050000 0x050000>;
113 reg = <0x0a0000 0x010000>;
117 fwconcat1: partition@b0000 {
119 reg = <0x0b0000 0x170000>;
124 reg = <0x220000 0x010000>;
128 fwconcat0: partition@230000 {
130 reg = <0x230000 0xbc0000>;
135 reg = <0xdf0000 0x200000>;
139 art: partition@ff0000 {
141 reg = <0xff0000 0x010000>;
151 mtd-mac-address = <&art 0x0>;
153 phy-handle = <&swphy0>;
157 switch-phy-swap = <1>;
162 compatible = "syscon", "simple-mfd";
168 mtd-cal-data = <&art 0x1000>;