diff options
author | Magnus Damm <damm@opensource.se> | 2009-10-07 05:00:06 -0400 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2009-10-08 22:14:21 -0400 |
commit | f78bab30707e043bc16c5b11ebff794c123f68c1 (patch) | |
tree | 8c22e1e4183f08ca954931ceda3a8e8394999a88 /arch/sh | |
parent | 59c82d12aa898c2f373b7e44bdea0b7c762ceccc (diff) |
sh: enable sleep state LEDs on Ecovec24
Extend the ecovec24 board code to enable Power
Management LEDs showing the current sh7724 sleep state.
Signed-off-by: Magnus Damm <damm@opensource.se>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'arch/sh')
-rw-r--r-- | arch/sh/boards/mach-ecovec24/setup.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/sh/boards/mach-ecovec24/setup.c b/arch/sh/boards/mach-ecovec24/setup.c index bbc7859433b6..3b1ceb46fa54 100644 --- a/arch/sh/boards/mach-ecovec24/setup.c +++ b/arch/sh/boards/mach-ecovec24/setup.c | |||
@@ -512,6 +512,11 @@ static void __init sh_eth_init(void) | |||
512 | #define IODRIVEA 0xA405018A | 512 | #define IODRIVEA 0xA405018A |
513 | static int __init arch_setup(void) | 513 | static int __init arch_setup(void) |
514 | { | 514 | { |
515 | /* enable STATUS0, STATUS2 and PDSTATUS */ | ||
516 | gpio_request(GPIO_FN_STATUS0, NULL); | ||
517 | gpio_request(GPIO_FN_STATUS2, NULL); | ||
518 | gpio_request(GPIO_FN_PDSTATUS, NULL); | ||
519 | |||
515 | /* enable SCIFA0 */ | 520 | /* enable SCIFA0 */ |
516 | gpio_request(GPIO_FN_SCIF0_TXD, NULL); | 521 | gpio_request(GPIO_FN_SCIF0_TXD, NULL); |
517 | gpio_request(GPIO_FN_SCIF0_RXD, NULL); | 522 | gpio_request(GPIO_FN_SCIF0_RXD, NULL); |