1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
4 #include <dt-bindings/gpio/gpio.h>
5 #include <dt-bindings/input/input.h>
7 #include "qca953x.dtsi"
10 compatible = "tplink,tl-wa850re-v2", "qca,qca9533";
11 model = "TP-Link TL-WA850RE v2";
15 led-failsafe = &led_re;
16 led-running = &led_re;
17 led-upgrade = &led_re;
18 label-mac-device = &wmac;
22 compatible = "gpio-leds";
24 pinctrl-names = "default";
25 pinctrl-0 = <&jtag_disable_pins>;
28 label = "tp-link:blue:lan";
29 gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
33 label = "tp-link:blue:re";
34 gpios = <&gpio 12 GPIO_ACTIVE_LOW>;
38 label = "tp-link:blue:signal1";
39 gpios = <&gpio 0 GPIO_ACTIVE_LOW>;
43 label = "tp-link:blue:signal2";
44 gpios = <&gpio 1 GPIO_ACTIVE_LOW>;
48 label = "tp-link:blue:signal3";
49 gpios = <&gpio 2 GPIO_ACTIVE_LOW>;
53 label = "tp-link:blue:signal4";
54 gpios = <&gpio 3 GPIO_ACTIVE_LOW>;
57 led_signal5: signal5 {
58 label = "tp-link:blue:signal5";
59 gpios = <&gpio 4 GPIO_ACTIVE_LOW>;
63 label = "tp-link:blue:wlan";
64 gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
65 linux,default-trigger = "phy0tpt";
70 compatible = "gpio-keys";
73 label = "Reset button";
74 linux,code = <KEY_RESTART>;
75 gpios = <&gpio 17 GPIO_ACTIVE_LOW>;
80 linux,code = <KEY_RFKILL>;
81 gpios = <&gpio 16 GPIO_ACTIVE_LOW>;
89 gpios = <15 GPIO_ACTIVE_HIGH>;
90 line-name = "tp-link:power:led";
105 #address-cells = <1>;
107 compatible = "jedec,spi-nor";
109 spi-max-frequency = <25000000>;
112 compatible = "fixed-partitions";
113 #address-cells = <1>;
118 reg = <0x000000 0x020000>;
124 reg = <0x020000 0x390000>;
125 compatible = "tplink,firmware";
128 config: partition@3b0000 {
130 reg = <0x3b0000 0x040000>;
134 art: partition@3f0000 {
136 reg = <0x3f0000 0x010000>;
146 mtd-cal-data = <&art 0x1000>;
147 mtd-mac-address = <&config 0x10008>;
153 phy-handle = <&swphy4>;
155 mtd-mac-address = <&config 0x10008>;
159 compatible = "syscon", "simple-mfd";