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", "rme-eg200";
18 device_type = "memory";
19 reg = <0x0 0x4000000>;
23 compatible = "gpio-keys-polled";
29 linux,code = <KEY_WPS_BUTTON>;
30 gpios = <&gpio 11 GPIO_ACTIVE_LOW>;
35 compatible = "gpio-leds";
38 label = "eg200:red:modbus";
39 gpios = <&gpio 16 GPIO_ACTIVE_HIGH>;
40 default-state = "off";
44 label = "eg200:red:etactica";
45 gpios = <&gpio 15 GPIO_ACTIVE_HIGH>;
46 default-state = "off";
50 label = "eg200:red:eth0";
51 gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
52 default-state = "off";
56 label = "eg200:red:wlan";
57 gpios = <&gpio 0 GPIO_ACTIVE_LOW>;
58 default-state = "off";
82 phy4: ethernet-phy@4 {
90 mtd-mac-address = <&art 0x0>;
95 switch-phy-addr-swap = <1>;
96 switch-phy-swap = <1>;
101 num-chipselects = <1>;
105 #address-cells = <1>;
107 compatible = "jedec,spi-nor";
108 spi-max-frequency = <50000000>;
112 compatible = "fixed-partitions";
113 #address-cells = <1>;
122 reg = <0x40000 0x10000>;
127 reg = <0x50000 0xfa0000>;
131 reg = <0xff0000 0x10000>;
140 mtd-cal-data = <&art 0x1000>;
141 mtd-mac-address = <&art 0x1002>;