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 PL-AC56";
11 compatible = "asus,pl-ac56", "qca,qca9563";
14 led-boot = &led_power;
15 led-failsafe = &led_power;
16 led-upgrade = &led_power;
17 label-mac-device = ð0;
21 compatible = "gpio-keys";
25 gpios = <&gpio 2 GPIO_ACTIVE_LOW>;
26 debounce-interval = <60>;
30 linux,code = <KEY_WPS_BUTTON>;
31 gpios = <&gpio 1 GPIO_ACTIVE_LOW>;
32 debounce-interval = <60>;
37 compatible = "gpio-leds";
40 function = LED_FUNCTION_POWER;
41 color = <LED_COLOR_ID_RED>;
42 gpios = <&gpio 15 GPIO_ACTIVE_LOW>;
46 function = LED_FUNCTION_LAN;
47 color = <LED_COLOR_ID_GREEN>;
48 gpios = <&gpio 6 GPIO_ACTIVE_LOW>;
52 label = "green:wlan2g";
53 gpios = <&gpio 19 GPIO_ACTIVE_LOW>;
57 label = "green:wlan5g";
58 gpios = <&gpio 8 GPIO_ACTIVE_LOW>;
67 compatible = "qcom,ath10k";
68 reg = <0x0000 0 0 0 0>;
69 nvmem-cells = <&cal_art_5000>;
70 nvmem-cell-names = "calibration";
78 compatible = "jedec,spi-nor";
80 spi-max-frequency = <50000000>;
83 compatible = "fixed-partitions";
89 reg = <0x000000 0x40000>;
95 reg = <0x040000 0x10000>;
99 art: partition@50000 {
101 reg = <0x050000 0x10000>;
105 compatible = "fixed-layout";
106 #address-cells = <1>;
109 macaddr_art_1002: macaddr@1002 {
113 cal_art_5000: calibration@5000 {
114 reg = <0x5000 0x844>;
120 compatible = "denx,uimage";
122 reg = <0x060000 0xf20000>;
127 reg = <0xf80000 0x80000>;
139 phy0: ethernet-phy@0 {
142 qca,mib-poll-interval = <500>;
144 qca,ar8327-initvals = <
145 0x04 0x80000080 /* AR8327_REG_PAD0_MODE */
146 0x08 0x01000000 /* AR8327_REG_PAD5_MODE */
147 0x0c 0x07500000 /* AR8327_REG_PAD6_MODE */
148 0x10 0x602613a0 /* AR8327_REG_POWER_ON_STRAP */
149 0x50 0xcc35cc35 /* AR8327_REG_LED_CTRL0 */
150 0x54 0xca35ca35 /* AR8327_REG_LED_CTRL1 */
151 0x58 0xc935c935 /* AR8327_REG_LED_CTRL2 */
152 0x5c 0x03ffff00 /* AR8327_REG_LED_CTRL3 */
153 0x7c 0x0000007e /* AR8327_REG_PORT_STATUS(0) */
154 0x94 0x0000007e /* AR8327_REG_PORT_STATUS(6) */
163 nvmem-cells = <&macaddr_art_1002>;
164 nvmem-cell-names = "mac-address";
165 phy-handle = <&phy0>;