mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-19 21:58:04 +00:00
9ba83c450c
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>
45 lines
715 B
Plaintext
45 lines
715 B
Plaintext
// SPDX-License-Identifier: GPL-2.0-or-later OR MIT
|
|
/dts-v1/;
|
|
|
|
#include "ar9344_tplink_cpexxx.dtsi"
|
|
|
|
/ {
|
|
model = "TP-Link CPE610 v1";
|
|
compatible = "tplink,cpe610-v1", "qca,ar9344";
|
|
|
|
aliases {
|
|
led-boot = &system;
|
|
led-failsafe = &system;
|
|
led-upgrade = &system;
|
|
};
|
|
|
|
leds {
|
|
compatible = "gpio-leds";
|
|
|
|
system: lan {
|
|
label = "tp-link:green:lan";
|
|
gpios = <&gpio 11 GPIO_ACTIVE_LOW>;
|
|
};
|
|
|
|
wlan5g {
|
|
label = "tp-link:green:wlan5g";
|
|
gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
|
|
linux,default-trigger = "phy0tpt";
|
|
};
|
|
};
|
|
};
|
|
|
|
ð0 {
|
|
status = "okay";
|
|
|
|
mtd-mac-address = <&info 0x08>;
|
|
|
|
phy-mode = "mii";
|
|
phy-handle = <&swphy4>;
|
|
};
|
|
|
|
ð1 {
|
|
status = "okay";
|
|
compatible = "syscon", "simple-mfd";
|
|
};
|