5 #include <dt-bindings/gpio/gpio.h>
6 #include <dt-bindings/input/input.h>
9 compatible = "netgear,wndr3700-v5", "mediatek,mt7621-soc";
10 model = "Netgear WNDR3700v5";
13 led-status = &led_power;
17 device_type = "memory";
18 reg = <0x0 0x8000000>;
22 bootargs = "console=ttyS0,57600 maxcpus=2";
26 compatible = "gpio-leds";
29 label = "wndr3700v5:green:wps";
30 gpios = <&gpio0 12 GPIO_ACTIVE_LOW>;
34 label = "wndr3700v5:green:power";
35 gpios = <&gpio0 18 GPIO_ACTIVE_LOW>;
40 compatible = "gpio-keys-polled";
44 label = "wndr3700v5:wps";
45 gpios = <&gpio0 7 GPIO_ACTIVE_HIGH>;
46 linux,code = <KEY_WPS_BUTTON>;
50 label = "wndr3700v5:wifi";
51 gpios = <&gpio0 8 GPIO_ACTIVE_HIGH>;
52 linux,code = <KEY_RFKILL>;
56 label = "wndr3700v5:reset";
57 gpios = <&gpio0 14 GPIO_ACTIVE_HIGH>;
58 linux,code = <KEY_RESTART>;
63 compatible = "gpio-export";
67 gpio-export,name = "usbpower";
68 gpio-export,output = <1>;
69 gpios = <&gpio0 10 GPIO_ACTIVE_HIGH>;
78 compatible = "jedec,spi-nor";
80 spi-max-frequency = <10000000>;
81 m25p,chunked-io = <32>;
84 compatible = "fixed-partitions";
96 reg = <0x30000 0x10000>;
100 factory: partition@f30000 {
102 reg = <0xf30000 0x10000>;
108 reg = <0x50000 0xee0000>;
120 reg = <0x0000 0 0 0 0>;
121 mediatek,mtd-eeprom = <&factory 0x8000>;
122 ieee80211-freq-limit = <5000000 6000000>;
128 reg = <0x0000 0 0 0 0>;
129 mediatek,mtd-eeprom = <&factory 0x0000>;
134 mtd-mac-address = <&factory 0x0000000c>;
138 state_default: pinctrl0 {
140 ralink,group = "rgmii2", "mdio", "wdt";
141 ralink,function = "gpio";