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/leds/common.h>
10 model = "eTactica EG200";
11 compatible = "etactica,eg200", "qca,ar9331";
14 led-boot = &led_etactica;
15 led-failsafe = &led_etactica;
16 led-upgrade = &led_etactica;
20 compatible = "gpio-keys";
23 linux,code = <KEY_RESTART>;
24 gpios = <&gpio 11 GPIO_ACTIVE_LOW>;
29 compatible = "gpio-leds";
30 pinctrl-names = "default";
31 pinctrl-0 = <&switch_led_disable_pins>;
35 gpios = <&gpio 16 GPIO_ACTIVE_HIGH>;
38 led_etactica: etactica {
39 label = "red:etactica";
40 gpios = <&gpio 15 GPIO_ACTIVE_HIGH>;
45 gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
49 function = LED_FUNCTION_WLAN;
50 color = <LED_COLOR_ID_RED>;
51 gpios = <&gpio 0 GPIO_ACTIVE_LOW>;
52 linux,default-trigger = "phy0tpt";
68 nvmem-cells = <&macaddr_art_0>;
69 nvmem-cell-names = "mac-address";
73 switch-phy-addr-swap = <1>;
74 switch-phy-swap = <1>;
80 compatible = "syscon", "simple-mfd";
87 compatible = "jedec,spi-nor";
88 spi-max-frequency = <50000000>;
92 compatible = "fixed-partitions";
102 reg = <0x40000 0x10000>;
107 compatible = "denx,uimage";
108 reg = <0x50000 0xfa0000>;
112 reg = <0xff0000 0x10000>;
116 compatible = "fixed-layout";
117 #address-cells = <1>;
120 macaddr_art_0: macaddr@0 {
131 mtd-cal-data = <&art 0x1000>;