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 model = "eTactica EG200";
10 compatible = "etactica,eg200", "qca,ar9331";
13 led-boot = &led_etactica;
14 led-failsafe = &led_etactica;
15 led-upgrade = &led_etactica;
19 compatible = "gpio-keys";
22 linux,code = <KEY_RESTART>;
23 gpios = <&gpio 11 GPIO_ACTIVE_LOW>;
28 compatible = "gpio-leds";
29 pinctrl-names = "default";
30 pinctrl-0 = <&switch_led_disable_pins>;
34 gpios = <&gpio 16 GPIO_ACTIVE_HIGH>;
37 led_etactica: etactica {
38 label = "red:etactica";
39 gpios = <&gpio 15 GPIO_ACTIVE_HIGH>;
44 gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
49 gpios = <&gpio 0 GPIO_ACTIVE_LOW>;
50 linux,default-trigger = "phy0tpt";
66 nvmem-cells = <&macaddr_art_0>;
67 nvmem-cell-names = "mac-address";
71 switch-phy-addr-swap = <1>;
72 switch-phy-swap = <1>;
78 compatible = "syscon", "simple-mfd";
85 compatible = "jedec,spi-nor";
86 spi-max-frequency = <50000000>;
90 compatible = "fixed-partitions";
100 reg = <0x40000 0x10000>;
105 compatible = "denx,uimage";
106 reg = <0x50000 0xfa0000>;
110 reg = <0xff0000 0x10000>;
119 mtd-cal-data = <&art 0x1000>;
123 compatible = "nvmem-cells";
124 #address-cells = <1>;
127 macaddr_art_0: macaddr@0 {