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 = <&gpio 38 GPIO_ACTIVE_LOW>;
26 linux,code = <KEY_RESTART>;
31 compatible = "gpio-leds";
34 label = "r6120:green:lan";
35 gpios = <&gpio 44 GPIO_ACTIVE_LOW>;
39 label = "r6120:green:power";
40 gpios = <&gpio 43 GPIO_ACTIVE_LOW>;
44 label = "r6120:green:wlan2g";
45 gpios = <&gpio 42 GPIO_ACTIVE_LOW>;
46 linux,default-trigger = "phy0tpt";
50 label = "r6120:orange:wlan2g";
51 gpios = <&gpio 41 GPIO_ACTIVE_LOW>;
55 label = "r6120:green:wan";
56 gpios = <&gpio 40 GPIO_ACTIVE_LOW>;
60 label = "r6120:orange:wan";
61 gpios = <&gpio 39 GPIO_ACTIVE_LOW>;
66 compatible = "regulator-fixed";
68 regulator-name = "USB-power";
69 gpio = <&gpio 45 GPIO_ACTIVE_HIGH>;
70 regulator-min-microvolt = <5000000>;
71 regulator-max-microvolt = <5000000>;
80 groups = "p0led_an", "p1led_an", "p2led_an",
81 "p3led_an", "p4led_an", "wdt",
91 compatible = "jedec,spi-nor";
93 spi-max-frequency = <10000000>;
96 compatible = "fixed-partitions";
106 factory: partition@40000 {
108 reg = <0x40000 0x20000>;
114 reg = <0x60000 0x30000>;
119 compatible = "denx,uimage";
121 reg = <0x90000 0xf60000>;
126 reg = <0xff0000 0x10000>;
138 mtd-mac-address = <&factory 0x4>;
147 reg = <0x0000 0 0 0 0>;
148 mediatek,mtd-eeprom = <&factory 0x8000>;
149 ieee80211-freq-limit = <5000000 6000000>;
150 mtd-mac-address = <&factory 0x4>;
151 mtd-mac-address-increment = <(2)>;