ath79: add support for Netgear WNR1000 v2
[openwrt/openwrt.git] / target / linux / ath79 / dts / ar9344_tplink_cpe510.dtsi
1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
2 /dts-v1/;
3
4 #include "ar9344_tplink_cpexxx.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 lan {
18 label = "tp-link:green:lan";
19 gpios = <&gpio 11 GPIO_ACTIVE_LOW>;
20 };
21
22 link1 {
23 label = "tp-link:green:link1";
24 gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
25 };
26
27 link2 {
28 label = "tp-link:green:link2";
29 gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
30 };
31
32 link3 {
33 label = "tp-link:green:link3";
34 gpios = <&gpio 15 GPIO_ACTIVE_LOW>;
35 };
36
37 system: link4 {
38 label = "tp-link:green:link4";
39 gpios = <&gpio 16 GPIO_ACTIVE_LOW>;
40 };
41 };
42 };
43
44 &eth0 {
45 status = "okay";
46
47 mtd-mac-address = <&info 0x08>;
48
49 phy-mode = "mii";
50 phy-handle = <&swphy4>;
51 };
52
53 &eth1 {
54 status = "okay";
55 compatible = "syscon", "simple-mfd";
56 };