3 #include "mt7628an.dtsi"
5 #include <dt-bindings/gpio/gpio.h>
6 #include <dt-bindings/input/input.h>
9 compatible = "netgear,r6120", "mediatek,mt7628an-soc";
10 model = "Netgear AC1200 R6120";
13 led-boot = &led_power;
14 led-failsafe = &led_power;
15 led-running = &led_power;
16 led-upgrade = &led_power;
20 device_type = "memory";
21 reg = <0x0 0x4000000>;
25 compatible = "gpio-keys-polled";
30 gpios = <&gpio1 6 GPIO_ACTIVE_LOW>;
31 linux,code = <KEY_RESTART>;
36 compatible = "gpio-leds";
39 label = "r6120:green:lan";
40 gpios = <&gpio1 12 GPIO_ACTIVE_LOW>;
44 label = "r6120:green:power";
45 gpios = <&gpio1 11 GPIO_ACTIVE_LOW>;
49 label = "r6120:green:wlan2g";
50 gpios = <&gpio1 10 GPIO_ACTIVE_LOW>;
54 label = "r6120:orange:wlan2g";
55 gpios = <&gpio1 9 GPIO_ACTIVE_LOW>;
59 label = "r6120:green:wlan5g";
60 gpios = <&gpio1 8 GPIO_ACTIVE_LOW>;
64 label = "r6120:orange:wlan5g";
65 gpios = <&gpio1 7 GPIO_ACTIVE_LOW>;
71 state_default: pinctrl0 {
73 ralink,group = "p0led_an", "p1led_an", "p2led_an",
74 "p3led_an", "p4led_an", "wdt", "wled_an";
75 ralink,function = "gpio";
84 compatible = "jedec,spi-nor";
86 spi-max-frequency = <10000000>;
87 m25p,chunked-io = <32>;
90 compatible = "fixed-partitions";
100 factory: partition@40000 {
102 reg = <0x40000 0x20000>;
106 nvram: partition@60000 {
108 reg = <0x60000 0x30000>;
113 compatible = "denx,uimage";
115 reg = <0x90000 0xf60000>;
120 reg = <0xff0000 0x10000>;
129 mtd-mac-address = <&nvram 0x100b0>;
130 mediatek,mtd-eeprom = <&factory 0x20000>;
134 mtd-mac-address = <&nvram 0x100b0>;
143 reg = <0x0000 0 0 0 0>;
144 mediatek,mtd-eeprom = <&factory 0x28000>;
145 ieee80211-freq-limit = <5000000 6000000>;
146 mtd-mac-address = <&nvram 0x100b0>;
147 mtd-mac-address-increment = <(2)>;