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>
9 model = "ASUS RP-AC51";
10 compatible = "asus,rp-ac51", "qca,qca9531";
14 led-failsafe = &led_wps;
15 led-running = &led_wps;
16 led-upgrade = &led_wps;
17 label-mac-device = ð0;
21 compatible = "gpio-keys";
24 linux,code = <KEY_WPS_BUTTON>;
25 gpios = <&gpio 17 GPIO_ACTIVE_LOW>;
26 debounce-interval = <60>;
30 linux,code = <KEY_RESTART>;
31 gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
32 debounce-interval = <60>;
37 compatible = "gpio-leds";
41 gpios = <&gpio 4 GPIO_ACTIVE_HIGH>;
46 gpios = <&gpio 15 GPIO_ACTIVE_HIGH>;
51 gpios = <&gpio 1 GPIO_ACTIVE_HIGH>;
55 label = "blue:wlan2g";
56 gpios = <&gpio 16 GPIO_ACTIVE_HIGH>;
60 label = "blue:wlan5g";
61 gpios = <&gpio 2 GPIO_ACTIVE_HIGH>;
70 compatible = "qcom,ath10k";
71 reg = <0x0000 0 0 0 0>;
72 nvmem-cells = <&precal_art_5000>;
73 nvmem-cell-names = "pre-calibration";
81 compatible = "jedec,spi-nor";
83 spi-max-frequency = <50000000>;
86 compatible = "fixed-partitions";
92 reg = <0x000000 0x40000>;
98 reg = <0x040000 0x10000>;
102 art: partition@50000 {
104 reg = <0x050000 0x10000>;
108 compatible = "fixed-layout";
109 #address-cells = <1>;
112 macaddr_art_0: macaddr@0 {
116 macaddr_art_1002: macaddr@1002 {
120 precal_art_5000: pre-calibration@5000 {
121 reg = <0x5000 0x2f20>;
127 compatible = "denx,uimage";
129 reg = <0x060000 0xfa0000>;
138 phy-handle = <&swphy4>;
140 nvmem-cells = <&macaddr_art_0>;
141 nvmem-cell-names = "mac-address";
145 nvmem-cells = <&macaddr_art_1002>;
146 nvmem-cell-names = "mac-address";