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 ENS202EXT v1";
10 compatible = "engenius,ens202ext-v1", "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 linux,code = <KEY_RESTART>;
26 gpios = <&gpio 1 GPIO_ACTIVE_LOW>;
27 debounce-interval = <60>;
32 compatible = "gpio-leds";
35 label = "ens202ext-v1:amber:power";
36 gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
41 label = "ens202ext-v1:amber:wlan";
42 gpios = <&gpio 18 GPIO_ACTIVE_LOW>;
43 linux,default-trigger = "phy0tpt";
47 label = "ens202ext-v1:red:rssilow";
48 gpios = <&gpio 16 GPIO_ACTIVE_LOW>;
52 label = "ens202ext-v1:amber:rssimedium";
53 gpios = <&gpio 17 GPIO_ACTIVE_LOW>;
57 label = "ens202ext-v1:green:rssihigh";
58 gpios = <&gpio 0 GPIO_ACTIVE_LOW>;
63 compatible = "mtd-concat";
65 devices = <&firmware1 &firmware2>;
68 compatible = "fixed-partitions";
73 compatible = "openwrt,okli";
82 clock-frequency = <40000000>;
95 compatible = "jedec,spi-nor";
97 spi-max-frequency = <40000000>;
100 compatible = "fixed-partitions";
101 #address-cells = <1>;
106 reg = <0x000000 0x040000>;
111 label = "u-boot-env";
112 reg = <0x040000 0x010000>;
117 reg = <0x050000 0x050000>;
123 reg = <0x0a0000 0x010000>;
127 firmware2: partition@b0000 {
129 reg = <0x0b0000 0x170000>;
134 reg = <0x220000 0x010000>;
137 firmware1: partition@230000 {
139 reg = <0x230000 0xbc0000>;
144 reg = <0xdf0000 0x200000>;
148 art: partition@ff0000 {
150 reg = <0xff0000 0x010000>;
160 phy-handle = <&swphy0>;
162 mtd-mac-address = <&art 0x0>;
168 mtd-mac-address = <&art 0x0>;
172 switch-phy-swap = <1>;
179 mtd-cal-data = <&art 0x1000>;