aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-shmobile/board-ap4evb.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/mach-shmobile/board-ap4evb.c')
-rw-r--r--arch/arm/mach-shmobile/board-ap4evb.c14
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 4714cad373b8..d9a46d0ce01c 100644
--- a/arch/arm/mach-shmobile/board-ap4evb.c
+++ b/arch/arm/mach-shmobile/board-ap4evb.c
@@ -211,6 +211,20 @@ static void __init ap4evb_init(void)
211 gpio_export(GPIO_PORT187, 0); 211 gpio_export(GPIO_PORT187, 0);
212 gpio_export(GPIO_PORT188, 0); 212 gpio_export(GPIO_PORT188, 0);
213 213
214 /* enable Debug switch (S6) */
215 gpio_request(GPIO_PORT32, NULL);
216 gpio_request(GPIO_PORT33, NULL);
217 gpio_request(GPIO_PORT34, NULL);
218 gpio_request(GPIO_PORT35, NULL);
219 gpio_direction_input(GPIO_PORT32);
220 gpio_direction_input(GPIO_PORT33);
221 gpio_direction_input(GPIO_PORT34);
222 gpio_direction_input(GPIO_PORT35);
223 gpio_export(GPIO_PORT32, 0);
224 gpio_export(GPIO_PORT33, 0);
225 gpio_export(GPIO_PORT34, 0);
226 gpio_export(GPIO_PORT35, 0);
227
214 sh7372_add_standard_devices(); 228 sh7372_add_standard_devices();
215 229
216 platform_add_devices(ap4evb_devices, ARRAY_SIZE(ap4evb_devices)); 230 platform_add_devices(ap4evb_devices, ARRAY_SIZE(ap4evb_devices));