ath79: add support for TP-Link TL-WA850RE v1
[openwrt/openwrt.git] / target / linux / ath79 / dts / ar9341_tplink_tl-wa850re-v1.dts
1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
2 /dts-v1/;
3
4 #include "ar9341_tplink_tl-wa.dtsi"
5
6 / {
7 model = "TP-Link TL-WA850RE v1";
8 compatible = "tplink,tl-wa850re-v1", "qca,ar9341";
9
10 aliases {
11 led-boot = &led_re;
12 led-failsafe = &led_re;
13 led-running = &led_re;
14 led-upgrade = &led_re;
15 };
16
17 keys {
18 compatible = "gpio-keys";
19
20 reset {
21 label = "Reset";
22 linux,code = <KEY_RESTART>;
23 gpios = <&gpio 17 GPIO_ACTIVE_LOW>;
24 debounce-interval = <60>;
25 };
26
27 wps {
28 label = "WPS";
29 linux,code = <KEY_WPS_BUTTON>;
30 gpios = <&gpio 16 GPIO_ACTIVE_LOW>;
31 debounce-interval = <60>;
32 };
33 };
34
35 leds {
36 compatible = "gpio-leds";
37
38 lan {
39 label = "tp-link:blue:lan";
40 gpios = <&gpio 20 GPIO_ACTIVE_LOW>;
41 };
42
43 wlan {
44 label = "tp-link:blue:wlan";
45 gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
46 linux,default-trigger = "phy0tpt";
47 };
48
49 led_re: re {
50 label = "tp-link:blue:re";
51 gpios = <&gpio 15 GPIO_ACTIVE_LOW>;
52 };
53
54 signal1 {
55 label = "tp-link:blue:signal1";
56 gpios = <&gpio 0 GPIO_ACTIVE_LOW>;
57 };
58
59 signal2 {
60 label = "tp-link:blue:signal2";
61 gpios = <&gpio 1 GPIO_ACTIVE_LOW>;
62 };
63
64 signal3 {
65 label = "tp-link:blue:signal3";
66 gpios = <&gpio 2 GPIO_ACTIVE_LOW>;
67 };
68
69 signal4 {
70 label = "tp-link:blue:signal4";
71 gpios = <&gpio 3 GPIO_ACTIVE_LOW>;
72 };
73
74 signal5 {
75 label = "tp-link:blue:signal5";
76 gpios = <&gpio 4 GPIO_ACTIVE_LOW>;
77 };
78 };
79 };