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";
70 gpios = <&gpio2 26 GPIO_ACTIVE_LOW>;
71 linux,code = <KEY_RESTART>;
76 gpios = <&gpio0 2 GPIO_ACTIVE_LOW>;
77 linux,code = <KEY_WPS_BUTTON>;
94 compatible = "jedec,spi-nor";
96 spi-max-frequency = <10000000>;
99 compatible = "fixed-partitions";
100 #address-cells = <1>;
111 reg = <0x30000 0x10000>;
115 factory: partition@40000 {
117 reg = <0x40000 0x10000>;
122 compatible = "denx,uimage";
124 reg = <0x50000 0x790000>;
128 label = "board_data";
129 reg = <0x7e0000 0x10000>;
135 reg = <0x7f0000 0x10000>;
148 reg = <0x0000 0 0 0 0 >;
149 mediatek,mtd-eeprom = <&factory 0x8000>;
150 ieee80211-freq-limit = <5000000 6000000>;
155 mtd-mac-address = <&factory 0x28>;
159 ralink,mtd-eeprom = <&factory 0x0>;
163 state_default: pinctrl0 {
165 ralink,group = "i2c", "rgmii2", "spi refclk";
166 ralink,function = "gpio";