ath79: add support for TP-Link TL-WA901ND v4 and v5
[oweals/openwrt.git] / target / linux / ath79 / dts / tp9343_tplink_tl-wa901nd.dtsi
1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
2
3 #include "tp9343_tplink_tl-wx.dtsi"
4
5 / {
6         aliases {
7                 led-boot = &led_system;
8                 led-failsafe = &led_system;
9                 led-running = &led_system;
10                 led-upgrade = &led_system;
11         };
12
13         keys {
14                 compatible = "gpio-keys";
15
16                 reset {
17                         label = "Reset button";
18                         linux,code = <KEY_RESTART>;
19                         gpios = <&gpio 1 GPIO_ACTIVE_LOW>;
20                 };
21         };
22
23         leds {
24                 compatible = "gpio-leds";
25
26                 led_system: system {
27                         label = "tp-link:green:system";
28                         gpios = <&gpio 18 GPIO_ACTIVE_LOW>;
29                         default-state = "on";
30                 };
31
32                 qss {
33                         label = "tp-link:green:qss";
34                         gpios = <&gpio 3 GPIO_ACTIVE_LOW>;
35                 };
36
37                 lan {
38                         label = "tp-link:green:lan";
39                         gpios = <&gpio 7 GPIO_ACTIVE_LOW>;
40                 };
41
42                 wlan {
43                         label = "tp-link:green:wlan";
44                         gpios = <&gpio 8 GPIO_ACTIVE_LOW>;
45                         linux,default-trigger = "phy0tpt";
46                 };
47         };
48 };
49
50 &eth1 {
51         compatible = "syscon", "simple-mfd";
52 };