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 compatible = "engenius,enh202-v1", "qca,ar7240";
11 model = "EnGenius ENH202 v1";
14 led-boot = &led_rssihigh;
15 led-failsafe = &led_rssihigh;
16 led-running = &led_rssihigh;
17 led-upgrade = &led_rssihigh;
21 compatible = "gpio-keys";
25 linux,code = <KEY_RESTART>;
26 gpios = <&gpio 1 GPIO_ACTIVE_LOW>;
27 debounce-interval = <60>;
32 compatible = "gpio-leds";
34 pinctrl-names = "default";
35 pinctrl-0 = <&jtag_disable_pins &switch_led_disable_pins &clks_disable_pins>;
38 label = "red:rssilow";
39 gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
43 label = "amber:rssimedium";
44 gpios = <&gpio 15 GPIO_ACTIVE_LOW>;
47 led_rssihigh: rssihigh {
48 label = "green:rssihigh";
49 gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
54 gpios = <&gpio 16 GPIO_ACTIVE_LOW>;
59 gpios = <&gpio 17 GPIO_ACTIVE_LOW>;
64 compatible = "gpio-leds";
68 gpios = <&ath9k 1 GPIO_ACTIVE_LOW>;
69 linux,default-trigger = "phy0tpt";
74 compatible = "mtd-concat";
76 devices = <&fwconcat0 &fwconcat1>;
79 compatible = "fixed-partitions";
84 compatible = "openwrt,uimage", "denx,uimage";
85 openwrt,ih-magic = <IH_MAGIC_OKLI>;
101 compatible = "jedec,spi-nor";
103 spi-max-frequency = <20000000>;
106 compatible = "fixed-partitions";
107 #address-cells = <1>;
117 label = "u-boot-env";
118 reg = <0x40000 0x10000>;
123 reg = <0x50000 0x50000>;
129 reg = <0xa0000 0x10000>;
133 fwconcat1: partition@b0000 {
135 reg = <0xb0000 0xf0000>;
140 reg = <0x1a0000 0x10000>;
144 fwconcat0: partition@1b0000 {
146 reg = <0x1b0000 0x4c0000>;
151 reg = <0x670000 0x180000>;
155 art: partition@7f0000 {
157 reg = <0x7f0000 0x10000>;
165 mtd-mac-address = <&art 0x0>;
171 mtd-mac-address = <&art 0x0>;
178 compatible = "pci168c,002a";
179 reg = <0x0000 0 0 0 0>;