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";
69 gpios = <&gpio2 26 GPIO_ACTIVE_LOW>;
70 linux,code = <KEY_RESTART>;
75 gpios = <&gpio0 2 GPIO_ACTIVE_LOW>;
76 linux,code = <KEY_WPS_BUTTON>;
93 compatible = "jedec,spi-nor";
95 spi-max-frequency = <10000000>;
98 compatible = "fixed-partitions";
110 reg = <0x30000 0x10000>;
114 factory: partition@40000 {
116 reg = <0x40000 0x10000>;
122 reg = <0x50000 0x790000>;
126 label = "board_data";
127 reg = <0x7e0000 0x10000>;
133 reg = <0x7f0000 0x10000>;
146 reg = <0x0000 0 0 0 0 >;
147 mediatek,mtd-eeprom = <&factory 0x8000>;
148 ieee80211-freq-limit = <5000000 6000000>;
153 mtd-mac-address = <&factory 0x28>;
157 ralink,mtd-eeprom = <&factory 0x0>;
161 state_default: pinctrl0 {
163 ralink,group = "i2c", "rgmii2", "spi refclk";
164 ralink,function = "gpio";