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>;
74 compatible = "jedec,spi-nor";
76 spi-max-frequency = <50000000>;
79 compatible = "fixed-partitions";
85 reg = <0x000000 0x40000>;
91 reg = <0x040000 0x10000>;
95 art: partition@50000 {
97 reg = <0x050000 0x10000>;
100 compatible = "nvmem-cells";
101 #address-cells = <1>;
104 macaddr_art_0: macaddr@0 {
108 macaddr_art_1002: macaddr@1002 {
114 compatible = "denx,uimage";
116 reg = <0x060000 0xfa0000>;
125 phy-handle = <&swphy4>;
127 nvmem-cells = <&macaddr_art_0>;
128 nvmem-cell-names = "mac-address";
132 nvmem-cells = <&macaddr_art_1002>;
133 nvmem-cell-names = "mac-address";