1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
4 #include <dt-bindings/gpio/gpio.h>
5 #include <dt-bindings/input/input.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;
21 compatible = "gpio-keys";
24 linux,code = <KEY_RESTART>;
25 gpios = <&gpio 11 GPIO_ACTIVE_LOW>;
30 compatible = "gpio-leds";
31 pinctrl-names = "default";
32 pinctrl-0 = <&switch_led_disable_pins>;
35 label = "eg200:red:modbus";
36 gpios = <&gpio 16 GPIO_ACTIVE_HIGH>;
39 led_etactica: etactica {
40 label = "eg200:red:etactica";
41 gpios = <&gpio 15 GPIO_ACTIVE_HIGH>;
45 label = "eg200:red:eth0";
46 gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
50 label = "eg200:red:wlan";
51 gpios = <&gpio 0 GPIO_ACTIVE_LOW>;
52 linux,default-trigger = "phy0tpt";
76 mtd-mac-address = <&art 0x0>;
80 switch-phy-addr-swap = <1>;
81 switch-phy-swap = <1>;
87 compatible = "syscon", "simple-mfd";
91 num-chipselects = <1>;
95 compatible = "jedec,spi-nor";
96 spi-max-frequency = <50000000>;
100 compatible = "fixed-partitions";
101 #address-cells = <1>;
110 reg = <0x40000 0x10000>;
115 compatible = "denx,uimage";
116 reg = <0x50000 0xfa0000>;
120 reg = <0xff0000 0x10000>;
129 mtd-cal-data = <&art 0x1000>;