aboutsummaryrefslogtreecommitdiffstats
path: root/target
diff options
context:
space:
mode:
authorAdrian Schmutzler <freifunk@adrianschmutzler.de>2019-09-04 13:51:02 +0200
committerDavid Bauer <mail@david-bauer.net>2019-10-06 22:42:30 +0200
commit273a6cb562b1b993666670f32350c6d7ef51b49b (patch)
tree4b957769dd42efc9d44e6eabc3b7bb0469591416 /target
parent67d019ac94015707926235a3ac0aa6bb12cee8c2 (diff)
downloadupstream-273a6cb562b1b993666670f32350c6d7ef51b49b.tar.gz
upstream-273a6cb562b1b993666670f32350c6d7ef51b49b.tar.bz2
upstream-273a6cb562b1b993666670f32350c6d7ef51b49b.zip
ath79: improve DTS for TP-Link Archer D50 v1
This addresses several issues in the DTS file: - add diag LED support - remove unused node names - fix whitespace issues Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
Diffstat (limited to 'target')
-rw-r--r--target/linux/ath79/dts/qca9531_tplink_archer-d50-v1.dts16
1 files changed, 10 insertions, 6 deletions
diff --git a/target/linux/ath79/dts/qca9531_tplink_archer-d50-v1.dts b/target/linux/ath79/dts/qca9531_tplink_archer-d50-v1.dts
index 828e403019..e6b5be9244 100644
--- a/target/linux/ath79/dts/qca9531_tplink_archer-d50-v1.dts
+++ b/target/linux/ath79/dts/qca9531_tplink_archer-d50-v1.dts
@@ -11,6 +11,10 @@
model = "TP-Link Archer D50 v1";
aliases {
+ led-boot = &system;
+ led-failsafe = &system;
+ led-running = &system;
+ led-upgrade = &system;
label-mac-device = &wmac;
};
@@ -18,22 +22,22 @@
bootargs = "console=ttyS0,115200n8";
};
- gpio_leds: leds {
+ leds {
compatible = "gpio-leds";
- led_wlan2g: wlan2g {
+ wlan2g {
label = "tp-link:white:wlan2g";
gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
linux,default-trigger = "phy0tpt";
};
- led_wlan5g: wlan5g {
+ wlan5g {
label = "tp-link:white:wlan5g";
gpios = <&gpio 15 GPIO_ACTIVE_LOW>;
linux,default-trigger = "phy1tpt";
};
- qss_led: qss {
+ qss {
label = "tp-link:white:qss";
gpios = <&gpio 17 GPIO_ACTIVE_LOW>;
};
@@ -60,7 +64,7 @@
gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
};
- system: system{
+ system: system {
label = "tp-link:white:system";
gpios = <&gpio 11 GPIO_ACTIVE_LOW>;
default-state = "on";
@@ -107,7 +111,7 @@
#address-cells = <1>;
#size-cells = <1>;
- uboot: partition@0 {
+ partition@0 {
label = "u-boot";
reg = <0x000000 0x020000>;
read-only;