ath79: update WA/XC devices UBNT_VERSION to 8.7.4
[openwrt/staging/wigyori.git] / target / linux / ath79 / dts / ar7240_tplink_tl-wr.dtsi
1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
2
3 #include <dt-bindings/leds/common.h>
4
5 #include "ar7240_tplink.dtsi"
6
7 &leds {
8 lan1 {
9 label = "green:lan1";
10 gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
11 };
12
13 lan2 {
14 label = "green:lan2";
15 gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
16 };
17
18 lan3 {
19 label = "green:lan3";
20 gpios = <&gpio 15 GPIO_ACTIVE_LOW>;
21 };
22
23 lan4 {
24 label = "green:lan4";
25 gpios = <&gpio 16 GPIO_ACTIVE_LOW>;
26 };
27
28 wan {
29 function = LED_FUNCTION_WAN;
30 color = <LED_COLOR_ID_GREEN>;
31 gpios = <&gpio 17 GPIO_ACTIVE_LOW>;
32 };
33 };
34
35 &eth0 {
36 nvmem-cells = <&macaddr_uboot_1fc00 (-1)>;
37 nvmem-cell-names = "mac-address";
38 };
39
40 &eth1 {
41 nvmem-cells = <&macaddr_uboot_1fc00 1>;
42 nvmem-cell-names = "mac-address";
43 };
44
45 &ath9k {
46 compatible = "pci168c,002b";
47 };