1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
3 #include "qca953x.dtsi"
5 #include <dt-bindings/gpio/gpio.h>
6 #include <dt-bindings/input/input.h>
7 #include <dt-bindings/leds/common.h>
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 function = LED_FUNCTION_LAN;
29 color = <LED_COLOR_ID_BLUE>;
30 gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
35 gpios = <&gpio 12 GPIO_ACTIVE_LOW>;
39 label = "blue:signal1";
40 gpios = <&gpio 0 GPIO_ACTIVE_LOW>;
44 label = "blue:signal2";
45 gpios = <&gpio 1 GPIO_ACTIVE_LOW>;
49 label = "blue:signal3";
50 gpios = <&gpio 2 GPIO_ACTIVE_LOW>;
54 label = "blue:signal4";
55 gpios = <&gpio 3 GPIO_ACTIVE_LOW>;
58 led_signal5: signal5 {
59 label = "blue:signal5";
60 gpios = <&gpio 4 GPIO_ACTIVE_LOW>;
64 function = LED_FUNCTION_WLAN;
65 color = <LED_COLOR_ID_BLUE>;
66 gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
67 linux,default-trigger = "phy0tpt";
72 compatible = "gpio-keys";
75 label = "Reset button";
76 linux,code = <KEY_RESTART>;
77 gpios = <&gpio 17 GPIO_ACTIVE_LOW>;
82 linux,code = <KEY_RFKILL>;
83 gpios = <&gpio 16 GPIO_ACTIVE_LOW>;
91 gpios = <15 GPIO_ACTIVE_HIGH>;
92 line-name = "tp-link:power:led";
101 compatible = "jedec,spi-nor";
103 spi-max-frequency = <25000000>;
106 compatible = "fixed-partitions";
107 #address-cells = <1>;
112 reg = <0x000000 0x020000>;
118 reg = <0x020000 0x390000>;
119 compatible = "tplink,firmware";
123 label = "partition-table";
124 reg = <0x3b0000 0x010000>;
128 info: partition@3c0000 {
130 reg = <0x3c0000 0x010000>;
134 compatible = "fixed-layout";
135 #address-cells = <1>;
138 macaddr_info_8: macaddr@8 {
146 reg = <0x3d0000 0x020000>;
150 art: partition@3f0000 {
152 reg = <0x3f0000 0x010000>;
162 phy-handle = <&swphy4>;
164 nvmem-cells = <&macaddr_info_8>;
165 nvmem-cell-names = "mac-address";
169 compatible = "syscon", "simple-mfd";
175 mtd-cal-data = <&art 0x1000>;
176 nvmem-cells = <&macaddr_info_8>;
177 nvmem-cell-names = "mac-address";