1 /* This file is released into the public domain */
3 #include "mt7620a.dtsi"
5 #include <dt-bindings/gpio/gpio.h>
6 #include <dt-bindings/input/input.h>
9 compatible = "netgear,wn3000rp-v3", "ralink,mt7620a-soc";
10 model = "Netgear WN3000RP v3";
13 led-boot = &led_power_green;
14 led-failsafe = &led_power_green;
15 led-running = &led_power_green;
16 led-upgrade = &led_power_green;
20 compatible = "gpio-keys";
24 gpios = <&gpio0 1 GPIO_ACTIVE_LOW>;
25 linux,code = <KEY_RESTART>;
30 gpios = <&gpio0 2 GPIO_ACTIVE_LOW>;
31 linux,code = <KEY_WPS_BUTTON>;
36 compatible = "gpio-leds";
38 led_power_green: power_g {
39 label = "green:power";
40 gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
46 gpios = <&gpio0 11 GPIO_ACTIVE_LOW>;
50 label = "green:client";
51 gpios = <&gpio0 13 GPIO_ACTIVE_LOW>;
56 gpios = <&gpio0 10 GPIO_ACTIVE_LOW>;
60 label = "green:router";
61 gpios = <&gpio0 12 GPIO_ACTIVE_LOW>;
66 gpios = <&gpio0 14 GPIO_ACTIVE_LOW>;
71 gpios = <&gpio1 15 GPIO_ACTIVE_LOW>;
75 label = "blue:leftarrow";
76 gpios = <&gpio0 7 GPIO_ACTIVE_LOW>;
80 label = "blue:rightarrow";
81 gpios = <&gpio0 8 GPIO_ACTIVE_LOW>;
94 compatible = "jedec,spi-nor";
96 spi-max-frequency = <10000000>;
99 compatible = "fixed-partitions";
100 #address-cells = <1>;
110 label = "u-boot-env";
111 reg = <0x30000 0x10000>;
116 compatible = "denx,uimage";
118 reg = <0x40000 0x7b0000>;
121 art: partition@7f0000 {
123 reg = <0x7f0000 0x10000>;
131 nvmem-cells = <&macaddr_art_0>;
132 nvmem-cell-names = "mac-address";
136 ralink,mtd-eeprom = <&art 0x1000>;
138 nvmem-cells = <&macaddr_art_6>;
139 nvmem-cell-names = "mac-address";
144 groups = "i2c", "uartf", "spi refclk";
150 compatible = "nvmem-cells";
151 #address-cells = <1>;
154 macaddr_art_0: macaddr@0 {
158 macaddr_art_6: macaddr@6 {