summaryrefslogtreecommitdiff
path: root/target/linux/oxnas/files
diff options
context:
space:
mode:
authorJohn Crispin <john@openwrt.org>2014-12-12 20:24:33 +0000
committerJohn Crispin <john@openwrt.org>2014-12-12 20:24:33 +0000
commit118534ea39f52feafb0b89e10ed76d4919f7a64d (patch)
treeefa77ef28b052087340aba870ec3b8c21e4ec298 /target/linux/oxnas/files
parentee6b5c600751b7e744faf3d5114e6f9cc1715a86 (diff)
downloadmtk-20170518-118534ea39f52feafb0b89e10ed76d4919f7a64d.zip
mtk-20170518-118534ea39f52feafb0b89e10ed76d4919f7a64d.tar.gz
mtk-20170518-118534ea39f52feafb0b89e10ed76d4919f7a64d.tar.bz2
oxnas: use libata ledtrig support for kd20 hdd leds
Signed-off-by: Daniel Golle <daniel@makrotopia.org> SVN-Revision: 43675
Diffstat (limited to 'target/linux/oxnas/files')
-rw-r--r--target/linux/oxnas/files/arch/arm/boot/dts/ox820-kd20.dts2
-rw-r--r--target/linux/oxnas/files/arch/arm/mach-oxnas/Kconfig1
2 files changed, 3 insertions, 0 deletions
diff --git a/target/linux/oxnas/files/arch/arm/boot/dts/ox820-kd20.dts b/target/linux/oxnas/files/arch/arm/boot/dts/ox820-kd20.dts
index 2db15ea..79442be 100644
--- a/target/linux/oxnas/files/arch/arm/boot/dts/ox820-kd20.dts
+++ b/target/linux/oxnas/files/arch/arm/boot/dts/ox820-kd20.dts
@@ -107,6 +107,7 @@
hdd1blue {
label = "kd20:blue:hdd1";
gpios = <&GPIOA 27 0>;
+ linux,default-trigger = "ata1";
};
hdd1red {
label = "kd20:red:hdd1";
@@ -115,6 +116,7 @@
hdd2blue {
label = "kd20:blue:hdd2";
gpios = <&GPIOB 6 0>;
+ linux,default-trigger = "ata2";
};
hdd2red {
label = "kd20:red:hdd2";
diff --git a/target/linux/oxnas/files/arch/arm/mach-oxnas/Kconfig b/target/linux/oxnas/files/arch/arm/mach-oxnas/Kconfig
index eb96f1b..6bdf3f6 100644
--- a/target/linux/oxnas/files/arch/arm/mach-oxnas/Kconfig
+++ b/target/linux/oxnas/files/arch/arm/mach-oxnas/Kconfig
@@ -18,6 +18,7 @@ config MACH_OX820
select PINCTRL_OXNAS
select PINCTRL
select RESET_CONTROLLER_OXNAS
+ select ARCH_WANT_LIBATA_LEDS
help
Include support for the ox820 platform.