1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
3 #include <dt-bindings/gpio/gpio.h>
4 #include <dt-bindings/input/input.h>
5 #include <dt-bindings/leds/common.h>
7 #include "qca956x.dtsi"
10 compatible = "tplink,deco-s4-v2", "qca,qca9563";
11 model = "TP-Link Deco S4 v2";
14 led-boot = &led_power;
15 led-failsafe = &led_power;
16 led-running = &led_power;
17 led-upgrade = &led_power;
21 compatible = "gpio-leds";
25 gpios = <&gpio 1 GPIO_ACTIVE_LOW>;
26 linux,default-trigger = "phy1tpt";
30 function = LED_FUNCTION_POWER;
31 color = <LED_COLOR_ID_GREEN>;
32 gpios = <&gpio 7 GPIO_ACTIVE_LOW>;
37 label = "blue:wlan5g";
38 gpios = <&gpio 9 GPIO_ACTIVE_LOW>;
39 linux,default-trigger = "phy0tpt";
45 compatible = "gpio-keys";
48 label = "Reset button";
49 linux,code = <KEY_RESTART>;
50 gpios = <&gpio 2 GPIO_ACTIVE_LOW>;
51 debounce-interval = <60>;
60 compatible = "qcom,ath10k";
61 reg = <0x0000 0 0 0 0>;
62 nvmem-cells = <&precal_art_5000>;
63 nvmem-cell-names = "pre-calibration";
70 phy0: ethernet-phy@0 {
73 qca,mib-poll-interval = <500>;
75 qca,ar8327-initvals = <
76 0x04 0x00080080 /* PORT0 PAD MODE CTRL */
77 0x7c 0x0000007e /* PORT0_STATUS */
87 compatible = "jedec,spi-nor";
89 spi-max-frequency = <25000000>;
92 compatible = "fixed-partitions";
98 reg = <0x000000 0x080000>;
103 label = "product-info";
104 reg = <0x80000 0x05000>;
108 config: partition@85000 {
110 reg = <0x85000 0x16b000>;
114 art: partition@1f0000 {
116 reg = <0x1f0000 0x10000>;
120 compatible = "fixed-layout";
121 #address-cells = <1>;
124 precal_art_5000: pre-calibration@5000 {
125 reg = <0x5000 0x2f20>;
131 compatible = "denx,uimage";
133 reg = <0x200000 0xe00000>;
143 phy-handle = <&phy0>;