1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
5 #include <dt-bindings/gpio/gpio.h>
6 #include <dt-bindings/input/input.h>
9 compatible = "asus,rp-ac87", "mediatek,mt7621-soc";
10 model = "ASUS RP-AC87";
14 led-failsafe = &led_wps;
15 led-running = &led_wps;
16 led-upgrade = &led_wps;
17 label-mac-device = &gmac0;
21 compatible = "gpio-keys";
25 gpios = <&gpio 3 GPIO_ACTIVE_LOW>;
26 linux,code = <KEY_RESTART>;
31 gpios = <&gpio 18 GPIO_ACTIVE_LOW>;
32 linux,code = <KEY_WPS_BUTTON>;
37 compatible = "gpio-leds";
41 gpios = <&gpio 4 GPIO_ACTIVE_LOW>;
45 label = "green:rssilow-wlan0";
46 gpios = <&gpio 42 GPIO_ACTIVE_LOW>;
50 label = "green:rssimedlow-wlan0";
51 gpios = <&gpio 43 GPIO_ACTIVE_LOW>;
55 label = "green:rssimed-wlan0";
56 gpios = <&gpio 41 GPIO_ACTIVE_LOW>;
60 label = "green:rssihigh-wlan0";
61 gpios = <&gpio 44 GPIO_ACTIVE_LOW>;
65 label = "green:rssilow-wlan1";
66 gpios = <&gpio 45 GPIO_ACTIVE_LOW>;
70 label = "green:rssimedlow-wlan1";
71 gpios = <&gpio 46 GPIO_ACTIVE_LOW>;
75 label = "green:rssimed-wlan1";
76 gpios = <&gpio 47 GPIO_ACTIVE_LOW>;
80 label = "green:rssihigh-wlan1";
81 gpios = <&gpio 48 GPIO_ACTIVE_LOW>;
90 compatible = "jedec,spi-nor";
92 spi-max-frequency = <50000000>;
96 compatible = "fixed-partitions";
107 label = "u-boot-env";
108 reg = <0x30000 0x10000>;
112 factory: partition@40000 {
114 reg = <0x40000 0x10000>;
118 compatible = "fixed-layout";
119 #address-cells = <1>;
122 eeprom_factory_0: eeprom@0 {
126 eeprom_factory_8000: eeprom@8000 {
127 reg = <0x8000 0x4da8>;
130 macaddr_factory_8004: macaddr@8004 {
137 compatible = "denx,uimage";
139 reg = <0x50000 0xfb0000>;
151 compatible = "mediatek,mt76";
152 reg = <0x0000 0 0 0 0>;
153 nvmem-cells = <&eeprom_factory_0>;
154 nvmem-cell-names = "eeprom";
155 ieee80211-freq-limit = <2400000 2500000>;
161 compatible = "mediatek,mt76";
162 reg = <0x0000 0 0 0 0>;
163 nvmem-cells = <&eeprom_factory_8000>;
164 nvmem-cell-names = "eeprom";
165 ieee80211-freq-limit = <5000000 6000000>;
170 nvmem-cells = <&macaddr_factory_8004>;
171 nvmem-cell-names = "mac-address";