ath79: move eth0 to parent DTSI for ar9344 TP-Link CPE devices
[oweals/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 = &led_system;
9                 led-failsafe = &led_system;
10                 led-running = &led_system;
11                 led-upgrade = &led_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                 led_system: link4 {
38                         label = "tp-link:green:link4";
39                         gpios = <&gpio 16 GPIO_ACTIVE_LOW>;
40                 };
41         };
42 };
43
44 &eth1 {
45         status = "okay";
46
47         compatible = "syscon", "simple-mfd";
48 };