1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
3 #include "qca956x.dtsi"
5 #include <dt-bindings/gpio/gpio.h>
6 #include <dt-bindings/input/input.h>
7 #include <dt-bindings/leds/common.h>
10 model = "ASUS RP-AC66";
11 compatible = "asus,rp-ac66", "qca,qca9563";
14 led-boot = &led_orange;
15 led-failsafe = &led_orange;
16 led-running = &led_power;
17 led-upgrade = &led_orange;
18 label-mac-device = ð0;
22 compatible = "gpio-leds";
25 function = LED_FUNCTION_POWER;
26 color = <LED_COLOR_ID_GREEN>;
27 gpios = <&gpio 6 GPIO_ACTIVE_HIGH>;
31 function = LED_FUNCTION_WPS;
32 color = <LED_COLOR_ID_ORANGE>;
33 gpios = <&gpio 1 GPIO_ACTIVE_HIGH>;
37 label = "blue:rssilow-wlan0";
38 gpios = <&gpio 14 GPIO_ACTIVE_HIGH>;
42 label = "red:rssimedium-wlan0";
43 gpios = <&gpio 16 GPIO_ACTIVE_HIGH>;
47 label = "green:rssihigh-wlan0";
48 gpios = <&gpio 15 GPIO_ACTIVE_HIGH>;
52 label = "blue:rssilow-wlan1";
53 gpios = <&gpio 7 GPIO_ACTIVE_HIGH>;
57 label = "red:rssimedium-wlan1";
58 gpios = <&gpio 9 GPIO_ACTIVE_HIGH>;
62 label = "green:rssihigh-wlan1";
63 gpios = <&gpio 8 GPIO_ACTIVE_HIGH>;
68 compatible = "gpio-keys";
71 linux,code = <KEY_WPS_BUTTON>;
72 gpios = <&gpio 5 GPIO_ACTIVE_LOW>;
73 debounce-interval = <60>;
77 linux,code = <KEY_RESTART>;
78 gpios = <&gpio 2 GPIO_ACTIVE_LOW>;
79 debounce-interval = <60>;
88 compatible = "qcom,ath10k";
89 reg = <0x0000 0 0 0 0>;
90 nvmem-cells = <&cal_art_5000>;
91 nvmem-cell-names = "calibration";
99 compatible = "jedec,spi-nor";
101 spi-max-frequency = <50000000>;
104 compatible = "fixed-partitions";
105 #address-cells = <1>;
110 reg = <0x000000 0x40000>;
115 label = "u-boot-env";
116 reg = <0x040000 0x10000>;
120 art: partition@50000 {
122 reg = <0x050000 0x10000>;
126 compatible = "fixed-layout";
127 #address-cells = <1>;
130 macaddr_art_1002: macaddr@1002 {
134 cal_art_5000: calibration@5000 {
135 reg = <0x5000 0x844>;
141 compatible = "denx,uimage";
143 reg = <0x060000 0xfa0000>;
152 phy0: ethernet-phy@3 {
155 qca,mib-poll-interval = <500>;
163 nvmem-cells = <&macaddr_art_1002>;
164 nvmem-cell-names = "mac-address";
165 phy-handle = <&phy0>;