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