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>
9 compatible = "tplink,tl-wa850re-v2", "qca,qca9533";
10 model = "TP-Link TL-WA850RE v2";
14 led-failsafe = &led_re;
15 led-running = &led_re;
16 led-upgrade = &led_re;
17 label-mac-device = &wmac;
21 compatible = "gpio-leds";
23 pinctrl-names = "default";
24 pinctrl-0 = <&jtag_disable_pins>;
28 gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
33 gpios = <&gpio 12 GPIO_ACTIVE_LOW>;
37 label = "blue:signal1";
38 gpios = <&gpio 0 GPIO_ACTIVE_LOW>;
42 label = "blue:signal2";
43 gpios = <&gpio 1 GPIO_ACTIVE_LOW>;
47 label = "blue:signal3";
48 gpios = <&gpio 2 GPIO_ACTIVE_LOW>;
52 label = "blue:signal4";
53 gpios = <&gpio 3 GPIO_ACTIVE_LOW>;
56 led_signal5: signal5 {
57 label = "blue:signal5";
58 gpios = <&gpio 4 GPIO_ACTIVE_LOW>;
63 gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
64 linux,default-trigger = "phy0tpt";
69 compatible = "gpio-keys";
72 label = "Reset button";
73 linux,code = <KEY_RESTART>;
74 gpios = <&gpio 17 GPIO_ACTIVE_LOW>;
79 linux,code = <KEY_RFKILL>;
80 gpios = <&gpio 16 GPIO_ACTIVE_LOW>;
88 gpios = <15 GPIO_ACTIVE_HIGH>;
89 line-name = "tp-link:power:led";
100 compatible = "jedec,spi-nor";
102 spi-max-frequency = <25000000>;
105 compatible = "fixed-partitions";
106 #address-cells = <1>;
111 reg = <0x000000 0x020000>;
117 reg = <0x020000 0x390000>;
118 compatible = "tplink,firmware";
122 label = "partition-table";
123 reg = <0x3b0000 0x010000>;
127 info: partition@3c0000 {
129 reg = <0x3c0000 0x010000>;
135 reg = <0x3d0000 0x020000>;
139 art: partition@3f0000 {
141 reg = <0x3f0000 0x010000>;
151 phy-handle = <&swphy4>;
153 mtd-mac-address = <&info 0x8>;
157 compatible = "syscon", "simple-mfd";
163 mtd-cal-data = <&art 0x1000>;
164 mtd-mac-address = <&info 0x8>;