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 bootargs = "console=ttyS0,57600";
19 compatible = "gpio-leds";
22 label = "ex3700:green:power";
23 gpios = <&gpio2 23 GPIO_ACTIVE_LOW>;
28 label = "ex3700:amber:power";
29 gpios = <&gpio2 28 GPIO_ACTIVE_LOW>;
30 default-state = "off";
34 label = "ex3700:green:router";
35 gpios = <&gpio2 25 GPIO_ACTIVE_LOW>;
39 label = "ex3700:red:router";
40 gpios = <&gpio2 24 GPIO_ACTIVE_LOW>;
44 label = "ex3700:green:device";
45 gpios = <&gpio2 20 GPIO_ACTIVE_LOW>;
49 label = "ex3700:red:device";
50 gpios = <&gpio2 21 GPIO_ACTIVE_LOW>;
54 label = "ex3700:green:wps";
55 gpios = <&gpio2 27 GPIO_ACTIVE_LOW>;
60 compatible = "gpio-keys-polled";
67 gpios = <&gpio2 26 GPIO_ACTIVE_LOW>;
68 linux,code = <KEY_RESTART>;
73 gpios = <&gpio0 2 GPIO_ACTIVE_LOW>;
74 linux,code = <KEY_WPS_BUTTON>;
93 compatible = "jedec,spi-nor";
95 spi-max-frequency = <10000000>;
105 reg = <0x30000 0x10000>;
109 factory: partition@40000 {
111 reg = <0x40000 0x10000>;
117 reg = <0x50000 0x790000>;
121 label = "board_data";
122 reg = <0x7e0000 0x10000>;
128 reg = <0x7f0000 0x10000>;
139 reg = <0x0000 0 0 0 0 >;
141 mediatek,mtd-eeprom = <&factory 0x8000>;
142 ieee80211-freq-limit = <5000000 6000000>;
148 mtd-mac-address = <&factory 0x28>;
152 ralink,mtd-eeprom = <&factory 0x0>;
156 state_default: pinctrl0 {
158 ralink,group = "i2c", "rgmii2", "spi refclk";
159 ralink,function = "gpio";