1 /* This file is released into the public domain */
5 #include "mt7620a.dtsi"
7 #include <dt-bindings/input/input.h>
8 #include <dt-bindings/gpio/gpio.h>
11 compatible = "netgear,wn3000rp-v3", "ralink,mt7620a-soc";
12 model = "Netgear WN3000RP v3";
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 = "wn3000rp-v3:green:power";
30 gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
35 label = "wn3000rp-v3:red:power";
36 gpios = <&gpio0 11 GPIO_ACTIVE_LOW>;
40 label = "wn3000rp-v3:green:client";
41 gpios = <&gpio0 13 GPIO_ACTIVE_LOW>;
45 label = "wn3000rp-v3:red:client";
46 gpios = <&gpio0 10 GPIO_ACTIVE_LOW>;
50 label = "wn3000rp-v3:green:router";
51 gpios = <&gpio0 12 GPIO_ACTIVE_LOW>;
55 label = "wn3000rp-v3:red:router";
56 gpios = <&gpio0 14 GPIO_ACTIVE_LOW>;
60 label = "wn3000rp-v3:green:wps";
61 gpios = <&gpio1 15 GPIO_ACTIVE_LOW>;
65 label = "wn3000rp-v3:blue:leftarrow";
66 gpios = <&gpio0 7 GPIO_ACTIVE_LOW>;
70 label = "wn3000rp-v3:blue:rightarrow";
71 gpios = <&gpio0 8 GPIO_ACTIVE_LOW>;
76 compatible = "gpio-keys-polled";
81 gpios = <&gpio0 1 GPIO_ACTIVE_LOW>;
82 linux,code = <KEY_RESTART>;
87 gpios = <&gpio0 2 GPIO_ACTIVE_LOW>;
88 linux,code = <KEY_WPS_BUTTON>;
101 compatible = "jedec,spi-nor";
103 spi-max-frequency = <10000000>;
106 compatible = "fixed-partitions";
107 #address-cells = <1>;
117 label = "u-boot-env";
118 reg = <0x30000 0x10000>;
123 compatible = "denx,uimage";
125 reg = <0x40000 0x7b0000>;
128 art: partition@7f0000 {
130 reg = <0x7f0000 0x10000>;
138 mtd-mac-address = <&art 0x0>;
142 mtd-mac-address = <&art 0x6>;
143 ralink,mtd-eeprom = <&art 0x1000>;
147 state_default: pinctrl0 {
149 ralink,group = "i2c", "uartf", "spi refclk";
150 ralink,function = "gpio";