Skip to content
Snippets Groups Projects
Commit 118534ea authored by John Crispin's avatar John Crispin
Browse files

oxnas: use libata ledtrig support for kd20 hdd leds


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

SVN-Revision: 43675
parent ee6b5c60
No related branches found
No related tags found
No related merge requests found
...@@ -345,3 +345,4 @@ CONFIG_ZBOOT_ROM_TEXT=0 ...@@ -345,3 +345,4 @@ CONFIG_ZBOOT_ROM_TEXT=0
CONFIG_ZLIB_DEFLATE=y CONFIG_ZLIB_DEFLATE=y
CONFIG_ZLIB_INFLATE=y CONFIG_ZLIB_INFLATE=y
CONFIG_ZONE_DMA_FLAG=0 CONFIG_ZONE_DMA_FLAG=0
CONFIG_ATA_LEDS=y
...@@ -364,3 +364,4 @@ CONFIG_ZBOOT_ROM_TEXT=0 ...@@ -364,3 +364,4 @@ CONFIG_ZBOOT_ROM_TEXT=0
CONFIG_ZLIB_DEFLATE=y CONFIG_ZLIB_DEFLATE=y
CONFIG_ZLIB_INFLATE=y CONFIG_ZLIB_INFLATE=y
CONFIG_ZONE_DMA_FLAG=0 CONFIG_ZONE_DMA_FLAG=0
CONFIG_ATA_LEDS=y
...@@ -107,6 +107,7 @@ ...@@ -107,6 +107,7 @@
hdd1blue { hdd1blue {
label = "kd20:blue:hdd1"; label = "kd20:blue:hdd1";
gpios = <&GPIOA 27 0>; gpios = <&GPIOA 27 0>;
linux,default-trigger = "ata1";
}; };
hdd1red { hdd1red {
label = "kd20:red:hdd1"; label = "kd20:red:hdd1";
...@@ -115,6 +116,7 @@ ...@@ -115,6 +116,7 @@
hdd2blue { hdd2blue {
label = "kd20:blue:hdd2"; label = "kd20:blue:hdd2";
gpios = <&GPIOB 6 0>; gpios = <&GPIOB 6 0>;
linux,default-trigger = "ata2";
}; };
hdd2red { hdd2red {
label = "kd20:red:hdd2"; label = "kd20:red:hdd2";
......
...@@ -18,6 +18,7 @@ config MACH_OX820 ...@@ -18,6 +18,7 @@ config MACH_OX820
select PINCTRL_OXNAS select PINCTRL_OXNAS
select PINCTRL select PINCTRL
select RESET_CONTROLLER_OXNAS select RESET_CONTROLLER_OXNAS
select ARCH_WANT_LIBATA_LEDS
help help
Include support for the ox820 platform. Include support for the ox820 platform.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment