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-ac56", "mediatek,mt7621-soc";
10 model = "Asus RP-AC56";
13 led-boot = &led_power_orange;
14 led-failsafe = &led_power_orange;
15 led-running = &led_power_white;
16 led-upgrade = &led_power_blue;
17 label-mac-device = &gmac0;
21 compatible = "gpio-leds";
25 gpios = <&gpio 16 GPIO_ACTIVE_HIGH>;
29 label = "blue:wlan2g";
30 gpios = <&gpio 12 GPIO_ACTIVE_HIGH>;
34 label = "green:wlan2g";
35 gpios = <&gpio 13 GPIO_ACTIVE_HIGH>;
36 linux,default-trigger = "phy0tpt";
41 gpios = <&gpio 45 GPIO_ACTIVE_HIGH>;
45 label = "blue:wlan5g";
46 gpios = <&gpio 43 GPIO_ACTIVE_HIGH>;
50 label = "green:wlan5g";
51 gpios = <&gpio 44 GPIO_ACTIVE_HIGH>;
52 linux,default-trigger = "phy1tpt";
55 led_power_white: power_white {
56 label = "white:power";
57 gpios = <&gpio 48 GPIO_ACTIVE_HIGH>;
60 led_power_orange: power_orange {
61 label = "orange:power";
62 gpios = <&gpio 47 GPIO_ACTIVE_HIGH>;
65 led_power_blue: power_blue {
67 gpios = <&gpio 46 GPIO_ACTIVE_HIGH>;
72 compatible = "gpio-keys";
76 gpios = <&gpio 10 GPIO_ACTIVE_LOW>;
77 linux,code = <KEY_WPS_BUTTON>;
82 gpios = <&gpio 41 GPIO_ACTIVE_LOW>;
83 linux,code = <KEY_RESTART>;
88 compatible = "simple-audio-card";
89 simple-audio-card,name = "Audio-I2S";
90 simple-audio-card,format = "i2s";
91 simple-audio-card,bitclock-master = <&dailink0_master>;
92 simple-audio-card,frame-master = <&dailink0_master>;
93 simple-audio-card,routing =
94 "Headphone Jack", "HP_L",
95 "Headphone Jack", "HP_R";
96 simple-audio-card,mclk-fs = <256>;
98 simple-audio-card,cpu {
102 dailink0_master: simple-audio-card,codec {
103 sound-dai = <&codec>;
116 compatible = "jedec,spi-nor";
118 spi-max-frequency = <50000000>;
122 compatible = "fixed-partitions";
123 #address-cells = <1>;
134 reg = <0x30000 0x10000>;
138 factory: partition@40000 {
139 compatible = "nvmem-cells";
141 reg = <0x40000 0x10000>;
142 #address-cells = <1>;
146 eeprom_factory_0: eeprom@0 {
150 eeprom_factory_8000: eeprom@8000 {
151 reg = <0x8000 0x200>;
154 macaddr_factory_4: macaddr@4 {
160 compatible = "denx,uimage";
162 reg = <0x50000 0xfa0000>;
165 radio: partition@ff0000 {
167 reg = <0xff0000 0x10000>;
196 compatible = "mediatek,mt76";
197 reg = <0x0000 0 0 0 0>;
198 nvmem-cells = <&eeprom_factory_0>;
199 nvmem-cell-names = "eeprom";
200 ieee80211-freq-limit = <2400000 2500000>;
206 compatible = "mediatek,mt76";
207 reg = <0x0000 0 0 0 0>;
208 nvmem-cells = <&eeprom_factory_8000>;
209 nvmem-cell-names = "eeprom";
210 ieee80211-freq-limit = <5000000 6000000>;
215 nvmem-cells = <&macaddr_factory_4>;
216 nvmem-cell-names = "mac-address";
236 #sound-dai-cells = <0>;
237 compatible = "wlf,wm8960";
248 #sound-dai-cells = <0>;
250 pinctrl-names = "default";
251 pinctrl-0 = <&i2s_pins>;