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 ECB600";
10 compatible = "engenius,ecb600", "qca,ar9344";
13 label-mac-device = ð0;
14 led-boot = &led_power;
15 led-failsafe = &led_power;
16 led-running = &led_power;
17 led-upgrade = &led_power;
22 compatible = "gpio-keys";
26 gpios = <&gpio 17 GPIO_ACTIVE_LOW>;
27 debounce-interval = <60>;
28 linux,code = <KEY_RESTART>;
33 compatible = "gpio-leds";
36 label = "amber:power";
37 gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
42 label = "blue:wifi5g";
43 gpios = <&gpio 12 GPIO_ACTIVE_LOW>;
44 linux,default-trigger = "phy0tpt";
49 compatible = "gpio-leds";
52 label = "blue:wifi2g";
53 gpios = <&ath9k 0 GPIO_ACTIVE_LOW>;
54 linux,default-trigger = "phy1tpt";
59 compatible = "mtd-concat";
61 devices = <&firmware1 &firmware2>;
64 compatible = "fixed-partitions";
69 compatible = "openwrt,okli";
78 clock-frequency = <40000000>;
89 compatible = "jedec,spi-nor";
91 spi-max-frequency = <40000000>;
94 compatible = "fixed-partitions";
100 reg = <0x000000 0x040000>;
105 label = "u-boot-env";
106 reg = <0x040000 0x010000>;
111 reg = <0x050000 0x050000>;
117 reg = <0x0a0000 0x010000>;
121 firmware2: partition@b0000 {
123 reg = <0x0b0000 0x170000>;
128 reg = <0x220000 0x010000>;
132 firmware1: partition@230000 {
134 reg = <0x230000 0xbc0000>;
139 reg = <0xdf0000 0x200000>;
143 art: partition@ff0000 {
145 reg = <0xff0000 0x010000>;
155 phy0: ethernet-phy@0 {
165 mtd-mac-address = <&art 0x0>;
167 phy-handle = <&phy0>;
168 phy-mode = "rgmii-id";
170 pll-data = <0x02000000 0x00000101 0x00001313>;
184 compatible = "pci168c,0030";
188 mtd-mac-address = <&art 0x0>;
189 mtd-mac-address-increment = <(-2)>;
200 mtd-cal-data = <&art 0x1000>;
201 mtd-mac-address = <&art 0x0>;
202 mtd-mac-address-increment = <(-1)>;