1 /* This file is released into the public domain */
5 #include <dt-bindings/gpio/gpio.h>
6 #include <dt-bindings/input/input.h>
8 #include "mt7620a.dtsi"
11 compatible = "netgear,ex3700", "ralink,mt7620a-soc";
12 model = "Netgear EX3700/EX3800";
15 led-boot = &led_power_green;
16 led-failsafe = &led_power_green;
17 led-running = &led_power_green;
18 led-upgrade = &led_power_green;
22 bootargs = "console=ttyS0,57600";
26 compatible = "gpio-leds";
28 led_power_green: power_g {
29 label = "ex3700:green:power";
30 gpios = <&gpio2 23 GPIO_ACTIVE_LOW>;
35 label = "ex3700:amber:power";
36 gpios = <&gpio2 28 GPIO_ACTIVE_LOW>;
40 label = "ex3700:green:router";
41 gpios = <&gpio2 25 GPIO_ACTIVE_LOW>;
45 label = "ex3700:red:router";
46 gpios = <&gpio2 24 GPIO_ACTIVE_LOW>;
50 label = "ex3700:green:device";
51 gpios = <&gpio2 20 GPIO_ACTIVE_LOW>;
55 label = "ex3700:red:device";
56 gpios = <&gpio2 21 GPIO_ACTIVE_LOW>;
60 label = "ex3700:green:wps";
61 gpios = <&gpio2 27 GPIO_ACTIVE_LOW>;
66 compatible = "gpio-keys-polled";
71 gpios = <&gpio2 26 GPIO_ACTIVE_LOW>;
72 linux,code = <KEY_RESTART>;
77 gpios = <&gpio0 2 GPIO_ACTIVE_LOW>;
78 linux,code = <KEY_WPS_BUTTON>;
95 compatible = "jedec,spi-nor";
97 spi-max-frequency = <10000000>;
100 compatible = "fixed-partitions";
101 #address-cells = <1>;
112 reg = <0x30000 0x10000>;
116 factory: partition@40000 {
118 reg = <0x40000 0x10000>;
123 compatible = "denx,uimage";
125 reg = <0x50000 0x790000>;
129 label = "board_data";
130 reg = <0x7e0000 0x10000>;
136 reg = <0x7f0000 0x10000>;
149 reg = <0x0000 0 0 0 0 >;
150 mediatek,mtd-eeprom = <&factory 0x8000>;
151 ieee80211-freq-limit = <5000000 6000000>;
156 mtd-mac-address = <&factory 0x28>;
160 ralink,mtd-eeprom = <&factory 0x0>;
164 state_default: pinctrl0 {
166 ralink,group = "i2c", "rgmii2", "spi refclk";
167 ralink,function = "gpio";