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>;
97 compatible = "jedec,spi-nor";
99 spi-max-frequency = <20000000>;
102 compatible = "fixed-partitions";
103 #address-cells = <1>;
113 label = "u-boot-env";
114 reg = <0x40000 0x10000>;
119 reg = <0x50000 0x50000>;
125 reg = <0xa0000 0x10000>;
129 fwconcat1: partition@b0000 {
131 reg = <0xb0000 0xf0000>;
136 reg = <0x1a0000 0x10000>;
140 fwconcat0: partition@1b0000 {
142 reg = <0x1b0000 0x4c0000>;
147 reg = <0x670000 0x180000>;
151 art: partition@7f0000 {
153 reg = <0x7f0000 0x10000>;
161 mtd-mac-address = <&art 0x0>;
167 mtd-mac-address = <&art 0x0>;
174 compatible = "pci168c,002a";
175 reg = <0x0000 0 0 0 0>;