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