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,ecb350-v1", "qca,ar7242";
11 model = "EnGenius ECB350 v1";
14 label-mac-device = &ath9k;
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 0 GPIO_ACTIVE_LOW>;
27 debounce-interval = <60>;
28 linux,code = <KEY_RESTART>;
33 compatible = "gpio-leds";
36 label = "green:power";
37 gpios = <&gpio 17 GPIO_ACTIVE_HIGH>;
43 compatible = "gpio-leds";
47 gpios = <&ath9k 1 GPIO_ACTIVE_LOW>;
48 linux,default-trigger = "phy0tpt";
53 compatible = "mtd-concat";
55 devices = <&fwconcat0 &fwconcat1>;
58 compatible = "fixed-partitions";
63 compatible = "openwrt,uimage", "denx,uimage";
64 openwrt,ih-magic = <IH_MAGIC_OKLI>;
76 compatible = "jedec,spi-nor";
78 spi-max-frequency = <20000000>;
81 compatible = "fixed-partitions";
93 reg = <0x40000 0x10000>;
98 reg = <0x50000 0x50000>;
104 reg = <0xa0000 0x10000>;
108 fwconcat1: partition@b0000 {
110 reg = <0xb0000 0xf0000>;
115 reg = <0x1a0000 0x10000>;
119 fwconcat0: partition@1b0000 {
121 reg = <0x1b0000 0x4c0000>;
126 reg = <0x670000 0x180000>;
130 art: partition@7f0000 {
132 reg = <0x7f0000 0x10000>;
142 phy4: ethernet-phy@4 {
152 mtd-mac-address = <&art 0x0>;
154 phy-handle = <&phy4>;
155 phy-mode = "rgmii-id";
157 pll-data = <0x02000000 0x00000101 0x00001313>;
164 compatible = "pci168c,002a";
166 mtd-mac-address = <&art 0x0>;
167 mtd-mac-address-increment = <(-1)>;