1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
4 #include "ar934x_senao_loader.dtsi"
6 #include <dt-bindings/gpio/gpio.h>
7 #include <dt-bindings/input/input.h>
8 #include <dt-bindings/leds/common.h>
11 model = "Engenius ENS202EXT v1";
12 compatible = "engenius,ens202ext-v1", "qca,ar9341";
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 linux,code = <KEY_RESTART>;
27 gpios = <&gpio 1 GPIO_ACTIVE_LOW>;
28 debounce-interval = <60>;
33 compatible = "gpio-leds";
36 function = LED_FUNCTION_POWER;
37 color = <LED_COLOR_ID_AMBER>;
38 gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
43 function = LED_FUNCTION_WLAN;
44 color = <LED_COLOR_ID_AMBER>;
45 gpios = <&gpio 18 GPIO_ACTIVE_LOW>;
46 linux,default-trigger = "phy0tpt";
50 label = "red:rssilow";
51 gpios = <&gpio 16 GPIO_ACTIVE_LOW>;
55 label = "amber:rssimedium";
56 gpios = <&gpio 17 GPIO_ACTIVE_LOW>;
60 label = "green:rssihigh";
61 gpios = <&gpio 0 GPIO_ACTIVE_LOW>;
69 phy-handle = <&swphy0>;
71 nvmem-cells = <&macaddr_art_0>;
72 nvmem-cell-names = "mac-address";
78 nvmem-cells = <&macaddr_art_0>;
79 nvmem-cell-names = "mac-address";
83 switch-phy-swap = <1>;
90 mtd-cal-data = <&art 0x1000>;
95 compatible = "fixed-layout";
99 macaddr_art_0: macaddr@0 {