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-polled";
25 linux,code = <KEY_RESTART>;
26 gpios = <&gpio 11 GPIO_ACTIVE_LOW>;
31 compatible = "gpio-leds";
32 pinctrl-names = "default";
33 pinctrl-0 = <&switch_led_disable_pins>;
36 label = "eg200:red:modbus";
37 gpios = <&gpio 16 GPIO_ACTIVE_HIGH>;
40 led_etactica: etactica {
41 label = "eg200:red:etactica";
42 gpios = <&gpio 15 GPIO_ACTIVE_HIGH>;
46 label = "eg200:red:eth0";
47 gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
51 label = "eg200:red:wlan";
52 gpios = <&gpio 0 GPIO_ACTIVE_LOW>;
53 linux,default-trigger = "phy0tpt";
77 mtd-mac-address = <&art 0x0>;
81 switch-phy-addr-swap = <1>;
82 switch-phy-swap = <1>;
88 compatible = "syscon", "simple-mfd";
92 num-chipselects = <1>;
96 compatible = "jedec,spi-nor";
97 spi-max-frequency = <50000000>;
101 compatible = "fixed-partitions";
102 #address-cells = <1>;
111 reg = <0x40000 0x10000>;
116 compatible = "denx,uimage";
117 reg = <0x50000 0xfa0000>;
121 reg = <0xff0000 0x10000>;
130 mtd-cal-data = <&art 0x1000>;
131 mtd-mac-address = <&art 0x1002>;