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 R6120";
13 led-boot = &led_power;
14 led-failsafe = &led_power;
15 led-running = &led_power;
16 led-upgrade = &led_power;
17 label-mac-device = ðernet;
21 compatible = "gpio-keys";
25 gpios = <&gpio1 6 GPIO_ACTIVE_LOW>;
26 linux,code = <KEY_RESTART>;
31 compatible = "gpio-leds";
34 label = "r6120:green:lan";
35 gpios = <&gpio1 12 GPIO_ACTIVE_LOW>;
39 label = "r6120:green:power";
40 gpios = <&gpio1 11 GPIO_ACTIVE_LOW>;
44 label = "r6120:green:wlan2g";
45 gpios = <&gpio1 10 GPIO_ACTIVE_LOW>;
49 label = "r6120:orange:wlan2g";
50 gpios = <&gpio1 9 GPIO_ACTIVE_LOW>;
54 label = "r6120:green:wan";
55 gpios = <&gpio1 8 GPIO_ACTIVE_LOW>;
59 label = "r6120:orange:wan";
60 gpios = <&gpio1 7 GPIO_ACTIVE_LOW>;
65 compatible = "regulator-fixed";
67 regulator-name = "USB-power";
68 gpio = <&gpio1 13 GPIO_ACTIVE_HIGH>;
69 regulator-min-microvolt = <5000000>;
70 regulator-max-microvolt = <5000000>;
78 state_default: pinctrl0 {
80 ralink,group = "p0led_an", "p1led_an", "p2led_an",
81 "p3led_an", "p4led_an", "wdt",
83 ralink,function = "gpio";
92 compatible = "jedec,spi-nor";
94 spi-max-frequency = <10000000>;
97 compatible = "fixed-partitions";
107 factory: partition@40000 {
109 reg = <0x40000 0x20000>;
115 reg = <0x60000 0x30000>;
120 compatible = "denx,uimage";
122 reg = <0x90000 0xf60000>;
127 reg = <0xff0000 0x10000>;
139 mtd-mac-address = <&factory 0x4>;
148 reg = <0x0000 0 0 0 0>;
149 mediatek,mtd-eeprom = <&factory 0x8000>;
150 ieee80211-freq-limit = <5000000 6000000>;
151 mtd-mac-address = <&factory 0x4>;
152 mtd-mac-address-increment = <(2)>;