uboot-envtools: add env settings for Edgerouter-X
[openwrt/openwrt.git] / target / linux / ath79 / dts / ar9341_tplink_tl-wa901nd-v3.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-WA901ND v3";
8 compatible = "tplink,tl-wa901nd-v3", "qca,ar9341";
9
10 aliases {
11 led-boot = &led_system;
12 led-failsafe = &led_system;
13 led-running = &led_system;
14 led-upgrade = &led_system;
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
28 leds {
29 compatible = "gpio-leds";
30
31 lan {
32 label = "tp-link:green:lan";
33 gpios = <&gpio 18 GPIO_ACTIVE_LOW>;
34 };
35
36 wlan {
37 label = "tp-link:green:wlan";
38 gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
39 linux,default-trigger = "phy0tpt";
40 };
41
42 qss {
43 label = "tp-link:green:qss";
44 gpios = <&gpio 15 GPIO_ACTIVE_LOW>;
45 };
46
47 led_system: system {
48 label = "tp-link:green:system";
49 gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
50 };
51 };
52 };