diff options
-rw-r--r-- | arch/arm/mach-shmobile/board-ap4evb.c | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/arch/arm/mach-shmobile/board-ap4evb.c b/arch/arm/mach-shmobile/board-ap4evb.c index 41bc2487de4d..4714cad373b8 100644 --- a/arch/arm/mach-shmobile/board-ap4evb.c +++ b/arch/arm/mach-shmobile/board-ap4evb.c | |||
@@ -197,6 +197,20 @@ static void __init ap4evb_init(void) | |||
197 | gpio_request(GPIO_FN_CS5A, NULL); | 197 | gpio_request(GPIO_FN_CS5A, NULL); |
198 | gpio_request(GPIO_FN_IRQ6_39, NULL); | 198 | gpio_request(GPIO_FN_IRQ6_39, NULL); |
199 | 199 | ||
200 | /* enable LED 1 - 4 */ | ||
201 | gpio_request(GPIO_PORT185, NULL); | ||
202 | gpio_request(GPIO_PORT186, NULL); | ||
203 | gpio_request(GPIO_PORT187, NULL); | ||
204 | gpio_request(GPIO_PORT188, NULL); | ||
205 | gpio_direction_output(GPIO_PORT185, 1); | ||
206 | gpio_direction_output(GPIO_PORT186, 1); | ||
207 | gpio_direction_output(GPIO_PORT187, 1); | ||
208 | gpio_direction_output(GPIO_PORT188, 1); | ||
209 | gpio_export(GPIO_PORT185, 0); | ||
210 | gpio_export(GPIO_PORT186, 0); | ||
211 | gpio_export(GPIO_PORT187, 0); | ||
212 | gpio_export(GPIO_PORT188, 0); | ||
213 | |||
200 | sh7372_add_standard_devices(); | 214 | sh7372_add_standard_devices(); |
201 | 215 | ||
202 | platform_add_devices(ap4evb_devices, ARRAY_SIZE(ap4evb_devices)); | 216 | platform_add_devices(ap4evb_devices, ARRAY_SIZE(ap4evb_devices)); |