diff options
-rw-r--r-- | arch/arm/mach-omap2/board-am3517evm.c | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/arch/arm/mach-omap2/board-am3517evm.c b/arch/arm/mach-omap2/board-am3517evm.c index 18f601096ce1..592812af84da 100644 --- a/arch/arm/mach-omap2/board-am3517evm.c +++ b/arch/arm/mach-omap2/board-am3517evm.c | |||
@@ -264,6 +264,16 @@ static __init void am3517_evm_musb_init(void) | |||
264 | usb_musb_init(&musb_board_data); | 264 | usb_musb_init(&musb_board_data); |
265 | } | 265 | } |
266 | 266 | ||
267 | static __init void am3517_evm_mcbsp1_init(void) | ||
268 | { | ||
269 | u32 devconf0; | ||
270 | |||
271 | /* McBSP1 CLKR/FSR signal to be connected to CLKX/FSX pin */ | ||
272 | devconf0 = omap_ctrl_readl(OMAP2_CONTROL_DEVCONF0); | ||
273 | devconf0 |= OMAP2_MCBSP1_CLKR_MASK | OMAP2_MCBSP1_FSR_MASK; | ||
274 | omap_ctrl_writel(devconf0, OMAP2_CONTROL_DEVCONF0); | ||
275 | } | ||
276 | |||
267 | static const struct usbhs_omap_board_data usbhs_bdata __initconst = { | 277 | static const struct usbhs_omap_board_data usbhs_bdata __initconst = { |
268 | .port_mode[0] = OMAP_EHCI_PORT_MODE_PHY, | 278 | .port_mode[0] = OMAP_EHCI_PORT_MODE_PHY, |
269 | #if defined(CONFIG_PANEL_SHARP_LQ043T1DG01) || \ | 279 | #if defined(CONFIG_PANEL_SHARP_LQ043T1DG01) || \ |
@@ -373,6 +383,9 @@ static void __init am3517_evm_init(void) | |||
373 | /* MUSB */ | 383 | /* MUSB */ |
374 | am3517_evm_musb_init(); | 384 | am3517_evm_musb_init(); |
375 | 385 | ||
386 | /* McBSP1 */ | ||
387 | am3517_evm_mcbsp1_init(); | ||
388 | |||
376 | /* MMC init function */ | 389 | /* MMC init function */ |
377 | omap_hsmmc_init(mmc); | 390 | omap_hsmmc_init(mmc); |
378 | } | 391 | } |