ath79: ar724x: make sure builtin-switch is enabled in DT
[openwrt/openwrt.git] / target / linux / ath79 / dts / ar7240_tplink_tl-wr.dtsi
1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
2
3 #include "ar7240_tplink.dtsi"
4
5 &leds {
6 lan1 {
7 label = "tp-link:green:lan1";
8 gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
9 };
10
11 lan2 {
12 label = "tp-link:green:lan2";
13 gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
14 };
15
16 lan3 {
17 label = "tp-link:green:lan3";
18 gpios = <&gpio 15 GPIO_ACTIVE_LOW>;
19 };
20
21 lan4 {
22 label = "tp-link:green:lan4";
23 gpios = <&gpio 16 GPIO_ACTIVE_LOW>;
24 };
25
26 wan {
27 label = "tp-link:green:wan";
28 gpios = <&gpio 17 GPIO_ACTIVE_LOW>;
29 };
30 };
31
32 &eth0 {
33 mtd-mac-address = <&uboot 0x1fc00>;
34 mtd-mac-address-increment = <(-1)>;
35 };
36
37 &eth1 {
38 mtd-mac-address = <&uboot 0x1fc00>;
39 mtd-mac-address-increment = <1>;
40 };
41
42 &ath9k {
43 compatible = "pci168c,002b";
44 };