summaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorMagnus Damm <damm@opensource.se>2009-10-07 09:00:06 +0000
committerPaul Mundt <lethal@linux-sh.org>2009-10-09 11:14:21 +0900
commitf78bab30707e043bc16c5b11ebff794c123f68c1 (patch)
tree8c22e1e4183f08ca954931ceda3a8e8394999a88 /arch
parent59c82d12aa898c2f373b7e44bdea0b7c762ceccc (diff)
downloadblackbird-obmc-linux-f78bab30707e043bc16c5b11ebff794c123f68c1.tar.gz
blackbird-obmc-linux-f78bab30707e043bc16c5b11ebff794c123f68c1.zip
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')
-rw-r--r--arch/sh/boards/mach-ecovec24/setup.c5
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)
#define IODRIVEA 0xA405018A
static int __init arch_setup(void)
{
+ /* enable STATUS0, STATUS2 and PDSTATUS */
+ gpio_request(GPIO_FN_STATUS0, NULL);
+ gpio_request(GPIO_FN_STATUS2, NULL);
+ gpio_request(GPIO_FN_PDSTATUS, NULL);
+
/* enable SCIFA0 */
gpio_request(GPIO_FN_SCIF0_TXD, NULL);
gpio_request(GPIO_FN_SCIF0_RXD, NULL);
OpenPOWER on IntegriCloud