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 compatible = "engenius,eap350-v1", "qca,ar7242";
10 model = "EnGenius EAP350 v1";
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;
21 compatible = "gpio-keys";
25 gpios = <&gpio 0 GPIO_ACTIVE_LOW>;
26 debounce-interval = <60>;
27 linux,code = <KEY_RESTART>;
32 compatible = "gpio-leds";
36 gpios = <&gpio 17 GPIO_ACTIVE_HIGH>;
42 compatible = "gpio-leds";
46 gpios = <&ath9k 1 GPIO_ACTIVE_LOW>;
47 linux,default-trigger = "phy0tpt";
52 compatible = "mtd-concat";
54 devices = <&firmware1 &firmware2>;
57 compatible = "fixed-partitions";
62 compatible = "openwrt,okli";
78 compatible = "jedec,spi-nor";
80 spi-max-frequency = <20000000>;
83 compatible = "fixed-partitions";
95 reg = <0x40000 0x10000>;
100 reg = <0x50000 0x50000>;
106 reg = <0xa0000 0x10000>;
110 firmware2: partition@b0000 {
112 reg = <0xb0000 0xf0000>;
117 reg = <0x1a0000 0x10000>;
121 firmware1: partition@1b0000 {
123 reg = <0x1b0000 0x4c0000>;
128 reg = <0x670000 0x180000>;
132 art: partition@7f0000 {
134 reg = <0x7f0000 0x10000>;
144 phy4: ethernet-phy@4 {
154 mtd-mac-address = <&art 0x0>;
156 phy-handle = <&phy4>;
157 phy-mode = "rgmii-id";
159 pll-data = <0x02000000 0x00000101 0x00001313>;
166 compatible = "pci168c,002a";
168 mtd-mac-address = <&art 0x0>;
169 mtd-mac-address-increment = <1>;