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>
9 model = "ASUS PL-AC56";
10 compatible = "asus,pl-ac56", "qca,qca9563";
13 led-boot = &led_power;
14 led-failsafe = &led_power;
15 led-upgrade = &led_power;
16 label-mac-device = ð0;
20 compatible = "gpio-keys";
24 gpios = <&gpio 2 GPIO_ACTIVE_LOW>;
25 debounce-interval = <60>;
29 linux,code = <KEY_WPS_BUTTON>;
30 gpios = <&gpio 1 GPIO_ACTIVE_LOW>;
31 debounce-interval = <60>;
36 compatible = "gpio-leds";
40 gpios = <&gpio 15 GPIO_ACTIVE_LOW>;
45 gpios = <&gpio 6 GPIO_ACTIVE_LOW>;
49 label = "green:wlan2g";
50 gpios = <&gpio 19 GPIO_ACTIVE_LOW>;
54 label = "green:wlan5g";
55 gpios = <&gpio 8 GPIO_ACTIVE_LOW>;
68 compatible = "jedec,spi-nor";
70 spi-max-frequency = <50000000>;
73 compatible = "fixed-partitions";
79 reg = <0x000000 0x40000>;
85 reg = <0x040000 0x10000>;
89 art: partition@50000 {
91 reg = <0x050000 0x10000>;
95 compatible = "fixed-layout";
99 macaddr_art_1002: macaddr@1002 {
106 compatible = "denx,uimage";
108 reg = <0x060000 0xf20000>;
113 reg = <0xf80000 0x80000>;
125 phy0: ethernet-phy@0 {
128 qca,mib-poll-interval = <500>;
130 qca,ar8327-initvals = <
131 0x04 0x80000080 /* AR8327_REG_PAD0_MODE */
132 0x08 0x01000000 /* AR8327_REG_PAD5_MODE */
133 0x0c 0x07500000 /* AR8327_REG_PAD6_MODE */
134 0x10 0x602613a0 /* AR8327_REG_POWER_ON_STRAP */
135 0x50 0xcc35cc35 /* AR8327_REG_LED_CTRL0 */
136 0x54 0xca35ca35 /* AR8327_REG_LED_CTRL1 */
137 0x58 0xc935c935 /* AR8327_REG_LED_CTRL2 */
138 0x5c 0x03ffff00 /* AR8327_REG_LED_CTRL3 */
139 0x7c 0x0000007e /* AR8327_REG_PORT_STATUS(0) */
140 0x94 0x0000007e /* AR8327_REG_PORT_STATUS(6) */
149 nvmem-cells = <&macaddr_art_1002>;
150 nvmem-cell-names = "mac-address";
151 phy-handle = <&phy0>;