aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--arch/sh/boards/mach-se/7724/setup.c26
1 files changed, 26 insertions, 0 deletions
diff --git a/arch/sh/boards/mach-se/7724/setup.c b/arch/sh/boards/mach-se/7724/setup.c
index 957ed176ea2c..36a4ca3a9000 100644
--- a/arch/sh/boards/mach-se/7724/setup.c
+++ b/arch/sh/boards/mach-se/7724/setup.c
@@ -429,6 +429,32 @@ static int __init devices_setup(void)
429 /* turn on USB clocks, use external clock */ 429 /* turn on USB clocks, use external clock */
430 ctrl_outw((ctrl_inw(PORT_MSELCRB) & ~0xc000) | 0x8000, PORT_MSELCRB); 430 ctrl_outw((ctrl_inw(PORT_MSELCRB) & ~0xc000) | 0x8000, PORT_MSELCRB);
431 431
432#ifdef CONFIG_PM
433 /* Let LED9 show STATUS2 */
434 gpio_request(GPIO_FN_STATUS2, NULL);
435
436 /* Lit LED10 show STATUS0 */
437 gpio_request(GPIO_FN_STATUS0, NULL);
438
439 /* Lit LED11 show PDSTATUS */
440 gpio_request(GPIO_FN_PDSTATUS, NULL);
441#else
442 /* Lit LED9 */
443 gpio_request(GPIO_PTJ6, NULL);
444 gpio_direction_output(GPIO_PTJ6, 1);
445 gpio_export(GPIO_PTJ6, 0);
446
447 /* Lit LED10 */
448 gpio_request(GPIO_PTJ5, NULL);
449 gpio_direction_output(GPIO_PTJ5, 1);
450 gpio_export(GPIO_PTJ5, 0);
451
452 /* Lit LED11 */
453 gpio_request(GPIO_PTJ7, NULL);
454 gpio_direction_output(GPIO_PTJ7, 1);
455 gpio_export(GPIO_PTJ7, 0);
456#endif
457
432 /* enable USB0 port */ 458 /* enable USB0 port */
433 ctrl_outw(0x0600, 0xa40501d4); 459 ctrl_outw(0x0600, 0xa40501d4);
434 460