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;
21 compatible = "gpio-leds";
24 label = "green:power";
25 gpios = <&gpio 6 GPIO_ACTIVE_HIGH>;
30 gpios = <&gpio 1 GPIO_ACTIVE_HIGH>;
34 label = "blue:rssilow-wlan0";
35 gpios = <&gpio 14 GPIO_ACTIVE_HIGH>;
39 label = "red:rssimedium-wlan0";
40 gpios = <&gpio 16 GPIO_ACTIVE_HIGH>;
44 label = "green:rssihigh-wlan0";
45 gpios = <&gpio 15 GPIO_ACTIVE_HIGH>;
49 label = "blue:rssilow-wlan1";
50 gpios = <&gpio 7 GPIO_ACTIVE_HIGH>;
54 label = "red:rssimedium-wlan1";
55 gpios = <&gpio 9 GPIO_ACTIVE_HIGH>;
59 label = "green:rssihigh-wlan1";
60 gpios = <&gpio 8 GPIO_ACTIVE_HIGH>;
65 compatible = "gpio-keys";
68 linux,code = <KEY_WPS_BUTTON>;
69 gpios = <&gpio 5 GPIO_ACTIVE_LOW>;
70 debounce-interval = <60>;
74 linux,code = <KEY_RESTART>;
75 gpios = <&gpio 2 GPIO_ACTIVE_LOW>;
76 debounce-interval = <60>;
89 compatible = "jedec,spi-nor";
91 spi-max-frequency = <50000000>;
94 compatible = "fixed-partitions";
100 reg = <0x000000 0x40000>;
105 label = "u-boot-env";
106 reg = <0x040000 0x10000>;
110 art: partition@50000 {
112 reg = <0x050000 0x10000>;
115 compatible = "nvmem-cells";
116 #address-cells = <1>;
119 macaddr_art_1002: macaddr@1002 {
125 compatible = "denx,uimage";
127 reg = <0x060000 0xf20000>;
138 phy0: ethernet-phy@3 {
141 qca,mib-poll-interval = <500>;
149 nvmem-cells = <&macaddr_art_1002>;
150 nvmem-cell-names = "mac-address";
151 phy-handle = <&phy0>;