ath79: move dts-v1 statement to ath79.dtsi
[openwrt/staging/wigyori.git] / target / linux / ath79 / dts / tp9343_tplink_tl-wr940n-v4.dts
1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
2
3 #include "tp9343_tplink_tl-wr94x.dtsi"
4
5 / {
6 compatible = "tplink,tl-wr940n-v4", "qca,tp9343";
7 model = "TP-Link TL-WR940N v4";
8
9 aliases {
10 led-boot = &led_system;
11 led-failsafe = &led_system;
12 led-running = &led_system;
13 led-upgrade = &led_system;
14 };
15
16 leds {
17 compatible = "gpio-leds";
18
19 led_system: system {
20 label = "tp-link:blue:system";
21 gpios = <&gpio 5 GPIO_ACTIVE_LOW>;
22 default-state = "on";
23 };
24
25 qss {
26 label = "tp-link:blue:qss";
27 gpios = <&gpio 3 GPIO_ACTIVE_LOW>;
28 };
29
30 wlan {
31 label = "tp-link:blue:wlan";
32 gpios = <&gpio 7 GPIO_ACTIVE_LOW>;
33 linux,default-trigger = "phy0tpt";
34 };
35
36 wan_blue {
37 label = "tp-link:blue:wan";
38 gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
39 };
40
41 wan_red {
42 label = "tp-link:red:wan";
43 gpios = <&gpio 15 GPIO_ACTIVE_HIGH>;
44 };
45
46 lan1 {
47 label = "tp-link:blue:lan1";
48 gpios = <&gpio 8 GPIO_ACTIVE_LOW>;
49 };
50
51 lan2 {
52 label = "tp-link:blue:lan2";
53 gpios = <&gpio 6 GPIO_ACTIVE_LOW>;
54 };
55
56 lan3 {
57 label = "tp-link:blue:lan3";
58 gpios = <&gpio 18 GPIO_ACTIVE_LOW>;
59 };
60
61 lan4 {
62 label = "tp-link:blue:lan4";
63 gpios = <&gpio 4 GPIO_ACTIVE_LOW>;
64 };
65 };
66 };
67
68 &eth1 {
69 mtd-mac-address = <&uboot 0x1fc00>;
70 };