1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
4 #include "mt7628an.dtsi"
6 #include <dt-bindings/gpio/gpio.h>
7 #include <dt-bindings/input/input.h>
10 compatible = "netgear,r6080", "mediatek,mt7628an-soc";
11 model = "Netgear R6080";
14 led-boot = &led_power;
15 led-failsafe = &led_power;
16 led-running = &led_power;
17 led-upgrade = &led_power;
18 label-mac-device = ðernet;
22 compatible = "gpio-keys";
26 gpios = <&gpio 38 GPIO_ACTIVE_LOW>;
27 linux,code = <KEY_RESTART>;
32 compatible = "gpio-leds";
35 label = "r6080:green:lan";
36 gpios = <&gpio 44 GPIO_ACTIVE_LOW>;
40 label = "r6080:green:power";
41 gpios = <&gpio 43 GPIO_ACTIVE_LOW>;
45 label = "r6080:green:wlan2g";
46 gpios = <&gpio 42 GPIO_ACTIVE_LOW>;
47 linux,default-trigger = "phy0tpt";
51 label = "r6080:orange:wlan2g";
52 gpios = <&gpio 41 GPIO_ACTIVE_LOW>;
56 label = "r6080:green:wan";
57 gpios = <&gpio 40 GPIO_ACTIVE_LOW>;
61 label = "r6080:orange:wan";
62 gpios = <&gpio 39 GPIO_ACTIVE_LOW>;
69 groups = "p0led_an", "p1led_an", "p2led_an", "p3led_an",
70 "p4led_an", "wdt", "wled_an";
79 compatible = "jedec,spi-nor";
81 spi-max-frequency = <86000000>;
85 compatible = "fixed-partitions";
95 factory: partition@40000 {
97 reg = <0x40000 0x20000>;
103 reg = <0x60000 0x30000>;
108 compatible = "denx,uimage";
110 reg = <0x90000 0x760000>;
115 reg = <0x7f0000 0x10000>;
127 mtd-mac-address = <&factory 0x4>;
136 reg = <0x0000 0 0 0 0>;
137 mediatek,mtd-eeprom = <&factory 0x8000>;
138 ieee80211-freq-limit = <5000000 6000000>;