aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/kirkwood/files-5.4
diff options
context:
space:
mode:
authorPawel Dembicki <paweldembicki@gmail.com>2020-05-01 21:16:58 +0200
committerAdrian Schmutzler <freifunk@adrianschmutzler.de>2020-06-14 21:16:20 +0200
commitbbe712494596cc4a7c317b73ffdf800f04641912 (patch)
treeeb4e299932f124c5427ac86bda41e35fbbcfe91d /target/linux/kirkwood/files-5.4
parent373f4460497bad899bb97e7af00aad157ab0922a (diff)
downloadupstream-bbe712494596cc4a7c317b73ffdf800f04641912.tar.gz
upstream-bbe712494596cc4a7c317b73ffdf800f04641912.tar.bz2
upstream-bbe712494596cc4a7c317b73ffdf800f04641912.zip
kirkwood: move led triggers to dts
This patch moves led trigger settings from 01_leds file to dts. Now "linux,default-trigger" property is used. Tested-by: Alberto Bursi <bobafetthotmail@gmail.com> [nsa310,nsa325] Signed-off-by: Pawel Dembicki <paweldembicki@gmail.com>
Diffstat (limited to 'target/linux/kirkwood/files-5.4')
-rw-r--r--target/linux/kirkwood/files-5.4/arch/arm/boot/dts/kirkwood-nsa310b.dts3
1 files changed, 3 insertions, 0 deletions
diff --git a/target/linux/kirkwood/files-5.4/arch/arm/boot/dts/kirkwood-nsa310b.dts b/target/linux/kirkwood/files-5.4/arch/arm/boot/dts/kirkwood-nsa310b.dts
index 10b119eb01..12e51d6656 100644
--- a/target/linux/kirkwood/files-5.4/arch/arm/boot/dts/kirkwood-nsa310b.dts
+++ b/target/linux/kirkwood/files-5.4/arch/arm/boot/dts/kirkwood-nsa310b.dts
@@ -101,6 +101,7 @@
green-hdd {
label = "nsa310:green:hdd";
gpios = <&gpio1 9 GPIO_ACTIVE_HIGH>;
+ linux,default-trigger = "ata1";
};
red-hdd {
@@ -111,6 +112,7 @@
green-esata {
label = "nsa310:green:esata";
gpios = <&gpio0 12 GPIO_ACTIVE_HIGH>;
+ linux,default-trigger = "ata2";
};
red-esata {
@@ -121,6 +123,7 @@
green-usb {
label = "nsa310:green:usb";
gpios = <&gpio0 15 GPIO_ACTIVE_HIGH>;
+ linux,default-trigger = "usb-host";
};
red-usb {