aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/apm821xx/dts
diff options
context:
space:
mode:
authorChristian Lamparter <chunkeey@gmail.com>2018-10-15 20:00:09 +0200
committerHauke Mehrtens <hauke@hauke-m.de>2018-10-20 16:13:39 +0200
commitfc70276e6cd330eddaafbc71f11acefbc84a25df (patch)
treec38750892658b2920dc2db5b0bdb9c5bffbf8806 /target/linux/apm821xx/dts
parent1d5d77612f0eb3aa435dc574aecd23b629b55b6d (diff)
downloadupstream-fc70276e6cd330eddaafbc71f11acefbc84a25df.tar.gz
upstream-fc70276e6cd330eddaafbc71f11acefbc84a25df.tar.bz2
upstream-fc70276e6cd330eddaafbc71f11acefbc84a25df.zip
apm821xx: add disk-activity triggers via DT.
The WNDR4700 and the MBL have a dedicated HDD activity LED. This patch adds the default led triggers to the DTS and removes the entries in 01_leds. Signed-off-by: Christian Lamparter <chunkeey@gmail.com>
Diffstat (limited to 'target/linux/apm821xx/dts')
-rw-r--r--target/linux/apm821xx/dts/netgear-wndr4700.dts1
-rw-r--r--target/linux/apm821xx/dts/wd-mybooklive.dts1
2 files changed, 2 insertions, 0 deletions
diff --git a/target/linux/apm821xx/dts/netgear-wndr4700.dts b/target/linux/apm821xx/dts/netgear-wndr4700.dts
index a8f73e8a04..6a8c9990e6 100644
--- a/target/linux/apm821xx/dts/netgear-wndr4700.dts
+++ b/target/linux/apm821xx/dts/netgear-wndr4700.dts
@@ -390,6 +390,7 @@
hd-green {
label = "wndr4700:green:hd";
gpios = <&GPIO0 14 GPIO_ACTIVE_HIGH>;
+ linux,default-trigger = "disk-activity";
};
hd-red {
diff --git a/target/linux/apm821xx/dts/wd-mybooklive.dts b/target/linux/apm821xx/dts/wd-mybooklive.dts
index 4c61987119..9412f38d4a 100644
--- a/target/linux/apm821xx/dts/wd-mybooklive.dts
+++ b/target/linux/apm821xx/dts/wd-mybooklive.dts
@@ -103,6 +103,7 @@
power-blue {
label = "mbl:blue:power";
gpios = <&GPIO1 6 GPIO_ACTIVE_HIGH>;
+ linux,default-trigger = "disk-activity";
};
};