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 label = "green:power";
26 gpios = <&gpio 6 GPIO_ACTIVE_HIGH>;
31 gpios = <&gpio 1 GPIO_ACTIVE_HIGH>;
35 label = "blue:rssilow-wlan0";
36 gpios = <&gpio 14 GPIO_ACTIVE_HIGH>;
40 label = "red:rssimedium-wlan0";
41 gpios = <&gpio 16 GPIO_ACTIVE_HIGH>;
45 label = "green:rssihigh-wlan0";
46 gpios = <&gpio 15 GPIO_ACTIVE_HIGH>;
50 label = "blue:rssilow-wlan1";
51 gpios = <&gpio 7 GPIO_ACTIVE_HIGH>;
55 label = "red:rssimedium-wlan1";
56 gpios = <&gpio 9 GPIO_ACTIVE_HIGH>;
60 label = "green:rssihigh-wlan1";
61 gpios = <&gpio 8 GPIO_ACTIVE_HIGH>;
66 compatible = "gpio-keys";
69 linux,code = <KEY_WPS_BUTTON>;
70 gpios = <&gpio 5 GPIO_ACTIVE_LOW>;
71 debounce-interval = <60>;
75 linux,code = <KEY_RESTART>;
76 gpios = <&gpio 2 GPIO_ACTIVE_LOW>;
77 debounce-interval = <60>;
90 compatible = "jedec,spi-nor";
92 spi-max-frequency = <50000000>;
95 compatible = "fixed-partitions";
101 reg = <0x000000 0x40000>;
106 label = "u-boot-env";
107 reg = <0x040000 0x10000>;
111 art: partition@50000 {
113 reg = <0x050000 0x10000>;
116 compatible = "nvmem-cells";
117 #address-cells = <1>;
120 macaddr_art_1002: macaddr@1002 {
126 compatible = "denx,uimage";
128 reg = <0x060000 0xfa0000>;
137 phy0: ethernet-phy@3 {
140 qca,mib-poll-interval = <500>;
148 nvmem-cells = <&macaddr_art_1002>;
149 nvmem-cell-names = "mac-address";
150 phy-handle = <&phy0>;