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>
9 model = "Engenius EAP300 v2";
10 compatible = "engenius,eap300-v2", "qca,ar9341";
14 led-boot = &led_power;
15 led-failsafe = &led_power;
16 led-running = &led_power;
17 led-upgrade = &led_power;
21 compatible = "gpio-keys";
25 gpios = <&gpio 1 GPIO_ACTIVE_LOW>;
26 debounce-interval = <60>;
27 linux,code = <KEY_RESTART>;
32 compatible = "gpio-leds";
36 gpios = <&gpio 0 GPIO_ACTIVE_LOW>;
42 gpios = <&gpio 17 GPIO_ACTIVE_LOW>;
43 linux,default-trigger = "phy0tpt";
48 gpios = <&gpio 16 GPIO_ACTIVE_LOW>;
53 compatible = "mtd-concat";
55 devices = <&firmware1 &firmware2>;
58 compatible = "fixed-partitions";
63 compatible = "openwrt,okli";
72 clock-frequency = <40000000>;
83 compatible = "jedec,spi-nor";
85 spi-max-frequency = <20000000>;
88 compatible = "fixed-partitions";
94 reg = <0x000000 0x040000>;
100 reg = <0x040000 0x010000>;
105 reg = <0x050000 0x050000>;
111 reg = <0x0a0000 0x010000>;
115 firmware2: partition@b0000 {
117 reg = <0x0b0000 0x170000>;
122 reg = <0x220000 0x010000>;
126 firmware1: partition@230000 {
128 reg = <0x230000 0xbc0000>;
133 reg = <0xdf0000 0x200000>;
137 art: partition@ff0000 {
139 reg = <0xff0000 0x010000>;
149 mtd-mac-address = <&art 0x0>;
151 phy-handle = <&swphy0>;
155 switch-phy-swap = <1>;
160 compatible = "syscon", "simple-mfd";
166 mtd-cal-data = <&art 0x1000>;