diff options
| -rw-r--r-- | arch/arm/mach-shmobile/board-marzen.c | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/arch/arm/mach-shmobile/board-marzen.c b/arch/arm/mach-shmobile/board-marzen.c index 8871af322b4e..04bcf8801c24 100644 --- a/arch/arm/mach-shmobile/board-marzen.c +++ b/arch/arm/mach-shmobile/board-marzen.c | |||
| @@ -347,6 +347,15 @@ static const struct pinctrl_map marzen_pinctrl_map[] = { | |||
| 347 | "sdhi0_cd", "sdhi0"), | 347 | "sdhi0_cd", "sdhi0"), |
| 348 | PIN_MAP_MUX_GROUP_DEFAULT("sh_mobile_sdhi.0", "pfc-r8a7779", | 348 | PIN_MAP_MUX_GROUP_DEFAULT("sh_mobile_sdhi.0", "pfc-r8a7779", |
| 349 | "sdhi0_wp", "sdhi0"), | 349 | "sdhi0_wp", "sdhi0"), |
| 350 | /* USB0 */ | ||
| 351 | PIN_MAP_MUX_GROUP_DEFAULT("ehci-platform.0", "pfc-r8a7779", | ||
| 352 | "usb0", "usb0"), | ||
| 353 | /* USB1 */ | ||
| 354 | PIN_MAP_MUX_GROUP_DEFAULT("ehci-platform.0", "pfc-r8a7779", | ||
| 355 | "usb1", "usb1"), | ||
| 356 | /* USB2 */ | ||
| 357 | PIN_MAP_MUX_GROUP_DEFAULT("ehci-platform.1", "pfc-r8a7779", | ||
| 358 | "usb2", "usb2"), | ||
| 350 | }; | 359 | }; |
| 351 | 360 | ||
| 352 | static void __init marzen_init(void) | 361 | static void __init marzen_init(void) |
| @@ -364,14 +373,6 @@ static void __init marzen_init(void) | |||
| 364 | gpio_request(GPIO_FN_EX_CS0, NULL); /* nCS */ | 373 | gpio_request(GPIO_FN_EX_CS0, NULL); /* nCS */ |
| 365 | gpio_request(GPIO_FN_IRQ1_B, NULL); /* IRQ + PME */ | 374 | gpio_request(GPIO_FN_IRQ1_B, NULL); /* IRQ + PME */ |
| 366 | 375 | ||
| 367 | /* USB (CN21) */ | ||
| 368 | gpio_request(GPIO_FN_USB_OVC0, NULL); | ||
| 369 | gpio_request(GPIO_FN_USB_OVC1, NULL); | ||
| 370 | gpio_request(GPIO_FN_USB_OVC2, NULL); | ||
| 371 | |||
| 372 | /* USB (CN22) */ | ||
| 373 | gpio_request(GPIO_FN_USB_PENC2, NULL); | ||
| 374 | |||
| 375 | r8a7779_add_standard_devices(); | 376 | r8a7779_add_standard_devices(); |
| 376 | platform_add_devices(marzen_devices, ARRAY_SIZE(marzen_devices)); | 377 | platform_add_devices(marzen_devices, ARRAY_SIZE(marzen_devices)); |
| 377 | } | 378 | } |
