ath79: update WA/XC devices UBNT_VERSION to 8.7.4
[openwrt/staging/wigyori.git] / target / linux / ath79 / dts / tp9343_tplink_tl-wa901nd.dtsi
1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
2
3 #include <dt-bindings/leds/common.h>
4
5 #include "tp9343_tplink_tl-wx.dtsi"
6
7 / {
8 aliases {
9 led-boot = &led_system;
10 led-failsafe = &led_system;
11 led-running = &led_system;
12 led-upgrade = &led_system;
13 };
14
15 keys {
16 compatible = "gpio-keys";
17
18 reset {
19 label = "Reset button";
20 linux,code = <KEY_RESTART>;
21 gpios = <&gpio 1 GPIO_ACTIVE_LOW>;
22 };
23 };
24
25 leds {
26 compatible = "gpio-leds";
27
28 led_system: system {
29 label = "green:system";
30 gpios = <&gpio 18 GPIO_ACTIVE_LOW>;
31 default-state = "on";
32 };
33
34 qss {
35 label = "green:qss";
36 gpios = <&gpio 3 GPIO_ACTIVE_LOW>;
37 };
38
39 lan {
40 function = LED_FUNCTION_LAN;
41 color = <LED_COLOR_ID_GREEN>;
42 gpios = <&gpio 7 GPIO_ACTIVE_LOW>;
43 };
44
45 wlan {
46 function = LED_FUNCTION_WLAN;
47 color = <LED_COLOR_ID_GREEN>;
48 gpios = <&gpio 8 GPIO_ACTIVE_LOW>;
49 linux,default-trigger = "phy0tpt";
50 };
51 };
52 };
53
54 &eth1 {
55 compatible = "syscon", "simple-mfd";
56 };