Openwrt/target/linux/ath79/dts/ar9344_tplink_cpe510.dtsi
Adrian Schmutzler 9ba83c450c ath79: provide common DTSI for CPE510 v2/v3 and CPE610
This puts some common code into a new shared DTSI. Common nodes
are chosen so that the new DTSI can be used for CPE210 v1, too.

Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
2019-08-07 18:04:03 +02:00

57 lines
888 B
Plaintext

// SPDX-License-Identifier: GPL-2.0-or-later OR MIT
/dts-v1/;
#include "ar9344_tplink_cpexxx.dtsi"
/ {
aliases {
led-boot = &system;
led-failsafe = &system;
led-running = &system;
led-upgrade = &system;
};
leds {
compatible = "gpio-leds";
lan {
label = "tp-link:green:lan";
gpios = <&gpio 11 GPIO_ACTIVE_LOW>;
};
link1 {
label = "tp-link:green:link1";
gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
};
link2 {
label = "tp-link:green:link2";
gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
};
link3 {
label = "tp-link:green:link3";
gpios = <&gpio 15 GPIO_ACTIVE_LOW>;
};
system: link4 {
label = "tp-link:green:link4";
gpios = <&gpio 16 GPIO_ACTIVE_LOW>;
};
};
};
&eth0 {
status = "okay";
mtd-mac-address = <&info 0x08>;
phy-mode = "mii";
phy-handle = <&swphy4>;
};
&eth1 {
status = "okay";
compatible = "syscon", "simple-mfd";
};