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-status = &led_power_green;
19 bootargs = "console=ttyS0,57600";
23 compatible = "gpio-leds";
25 led_power_green: power_g {
26 label = "ex3700:green:power";
27 gpios = <&gpio2 23 GPIO_ACTIVE_LOW>;
32 label = "ex3700:amber:power";
33 gpios = <&gpio2 28 GPIO_ACTIVE_LOW>;
34 default-state = "off";
38 label = "ex3700:green:router";
39 gpios = <&gpio2 25 GPIO_ACTIVE_LOW>;
43 label = "ex3700:red:router";
44 gpios = <&gpio2 24 GPIO_ACTIVE_LOW>;
48 label = "ex3700:green:device";
49 gpios = <&gpio2 20 GPIO_ACTIVE_LOW>;
53 label = "ex3700:red:device";
54 gpios = <&gpio2 21 GPIO_ACTIVE_LOW>;
58 label = "ex3700:green:wps";
59 gpios = <&gpio2 27 GPIO_ACTIVE_LOW>;
64 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>;
97 compatible = "jedec,spi-nor";
99 spi-max-frequency = <10000000>;
109 reg = <0x30000 0x10000>;
113 factory: partition@40000 {
115 reg = <0x40000 0x10000>;
121 reg = <0x50000 0x790000>;
125 label = "board_data";
126 reg = <0x7e0000 0x10000>;
132 reg = <0x7f0000 0x10000>;
144 reg = <0x0000 0 0 0 0 >;
145 mediatek,mtd-eeprom = <&factory 0x8000>;
146 ieee80211-freq-limit = <5000000 6000000>;
151 mtd-mac-address = <&factory 0x28>;
155 ralink,mtd-eeprom = <&factory 0x0>;
159 state_default: pinctrl0 {
161 ralink,group = "i2c", "rgmii2", "spi refclk";
162 ralink,function = "gpio";