1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
3 #include "qca953x.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-AC51";
11 compatible = "asus,rp-ac51", "qca,qca9531";
15 led-failsafe = &led_wps;
16 led-running = &led_wps;
17 led-upgrade = &led_wps;
18 label-mac-device = ð0;
22 compatible = "gpio-keys";
25 linux,code = <KEY_WPS_BUTTON>;
26 gpios = <&gpio 17 GPIO_ACTIVE_LOW>;
27 debounce-interval = <60>;
31 linux,code = <KEY_RESTART>;
32 gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
33 debounce-interval = <60>;
38 compatible = "gpio-leds";
41 function = LED_FUNCTION_POWER;
42 color = <LED_COLOR_ID_BLUE>;
43 gpios = <&gpio 4 GPIO_ACTIVE_HIGH>;
47 function = LED_FUNCTION_WPS;
48 color = <LED_COLOR_ID_RED>;
49 gpios = <&gpio 15 GPIO_ACTIVE_HIGH>;
53 function = LED_FUNCTION_LAN;
54 color = <LED_COLOR_ID_BLUE>;
55 gpios = <&gpio 1 GPIO_ACTIVE_HIGH>;
59 label = "blue:wlan2g";
60 gpios = <&gpio 16 GPIO_ACTIVE_HIGH>;
64 label = "blue:wlan5g";
65 gpios = <&gpio 2 GPIO_ACTIVE_HIGH>;
74 compatible = "qcom,ath10k";
75 reg = <0x0000 0 0 0 0>;
76 nvmem-cells = <&precal_art_5000>;
77 nvmem-cell-names = "pre-calibration";
85 compatible = "jedec,spi-nor";
87 spi-max-frequency = <50000000>;
90 compatible = "fixed-partitions";
96 reg = <0x000000 0x40000>;
101 label = "u-boot-env";
102 reg = <0x040000 0x10000>;
106 art: partition@50000 {
108 reg = <0x050000 0x10000>;
112 compatible = "fixed-layout";
113 #address-cells = <1>;
116 macaddr_art_0: macaddr@0 {
120 macaddr_art_1002: macaddr@1002 {
124 precal_art_5000: pre-calibration@5000 {
125 reg = <0x5000 0x2f20>;
131 compatible = "denx,uimage";
133 reg = <0x060000 0xfa0000>;
142 phy-handle = <&swphy4>;
144 nvmem-cells = <&macaddr_art_0>;
145 nvmem-cell-names = "mac-address";
149 nvmem-cells = <&macaddr_art_1002>;
150 nvmem-cell-names = "mac-address";