oxnas: use libata ledtrig support for kd20 hdd leds

Signed-off-by: Daniel Golle <daniel@makrotopia.org>

SVN-Revision: 43675
lede-17.01
John Crispin 2014-12-12 20:24:33 +00:00
parent ee6b5c6007
commit 118534ea39
4 changed files with 5 additions and 0 deletions

View File

@ -345,3 +345,4 @@ CONFIG_ZBOOT_ROM_TEXT=0
CONFIG_ZLIB_DEFLATE=y
CONFIG_ZLIB_INFLATE=y
CONFIG_ZONE_DMA_FLAG=0
CONFIG_ATA_LEDS=y

View File

@ -364,3 +364,4 @@ CONFIG_ZBOOT_ROM_TEXT=0
CONFIG_ZLIB_DEFLATE=y
CONFIG_ZLIB_INFLATE=y
CONFIG_ZONE_DMA_FLAG=0
CONFIG_ATA_LEDS=y

View File

@ -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";

View File

@ -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.