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 bootargs = "console=ttyS0,115200n8";
26 compatible = "gpio-leds";
28 pinctrl-names = "default";
29 pinctrl-0 = <&jtag_disable_pins>;
32 label = "tp-link:blue:lan";
33 gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
37 label = "tp-link:blue:re";
38 gpios = <&gpio 12 GPIO_ACTIVE_LOW>;
42 label = "tp-link:blue:signal1";
43 gpios = <&gpio 0 GPIO_ACTIVE_LOW>;
47 label = "tp-link:blue:signal2";
48 gpios = <&gpio 1 GPIO_ACTIVE_LOW>;
52 label = "tp-link:blue:signal3";
53 gpios = <&gpio 2 GPIO_ACTIVE_LOW>;
57 label = "tp-link:blue:signal4";
58 gpios = <&gpio 3 GPIO_ACTIVE_LOW>;
61 led_signal5: signal5 {
62 label = "tp-link:blue:signal5";
63 gpios = <&gpio 4 GPIO_ACTIVE_LOW>;
67 label = "tp-link:blue:wlan";
68 gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
69 linux,default-trigger = "phy0tpt";
74 compatible = "gpio-keys";
77 label = "Reset button";
78 linux,code = <KEY_RESTART>;
79 gpios = <&gpio 17 GPIO_ACTIVE_LOW>;
84 linux,code = <KEY_RFKILL>;
85 gpios = <&gpio 16 GPIO_ACTIVE_LOW>;
93 gpios = <15 GPIO_ACTIVE_HIGH>;
94 line-name = "tp-link:power:led";
109 #address-cells = <1>;
111 compatible = "jedec,spi-nor";
113 spi-max-frequency = <25000000>;
116 compatible = "fixed-partitions";
117 #address-cells = <1>;
122 reg = <0x000000 0x020000>;
128 reg = <0x020000 0x390000>;
129 compatible = "tplink,firmware";
132 config: partition@3b0000 {
134 reg = <0x3b0000 0x040000>;
138 art: partition@3f0000 {
140 reg = <0x3f0000 0x010000>;
150 mtd-cal-data = <&art 0x1000>;
151 mtd-mac-address = <&config 0x10008>;
157 phy-handle = <&swphy4>;
159 mtd-mac-address = <&config 0x10008>;
163 compatible = "syscon", "simple-mfd";