diff options
author | Mark Brown <broonie@sirena.org.uk> | 2009-02-16 14:39:19 -0500 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2009-02-21 11:39:40 -0500 |
commit | 423145a5d4def58cff760809d48cfb21316d59a9 (patch) | |
tree | d8aa10d8dba3d0da8c5b352c398479267089dd47 /arch/arm/mach-at91/board-sam9g20ek.c | |
parent | d92c60f802f3af56d15f14f7cb83e630586c87f9 (diff) |
[ARM] 5399/1: [AT91] Configure MCLK and SSC for AT91SAMG20-EK
The AT91SAM20-EK has a WM8731 attached to it with MCLK supplied from
PCLK0 and the digital audio interface supplied by SSC0.
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Acked-by: Andrew Victor <linux@maxim.org.za>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/mach-at91/board-sam9g20ek.c')
-rw-r--r-- | arch/arm/mach-at91/board-sam9g20ek.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/arm/mach-at91/board-sam9g20ek.c b/arch/arm/mach-at91/board-sam9g20ek.c index 81439fe6fb3d..438efbb17482 100644 --- a/arch/arm/mach-at91/board-sam9g20ek.c +++ b/arch/arm/mach-at91/board-sam9g20ek.c | |||
@@ -238,6 +238,10 @@ static void __init ek_board_init(void) | |||
238 | at91_add_device_i2c(NULL, 0); | 238 | at91_add_device_i2c(NULL, 0); |
239 | /* LEDs */ | 239 | /* LEDs */ |
240 | at91_gpio_leds(ek_leds, ARRAY_SIZE(ek_leds)); | 240 | at91_gpio_leds(ek_leds, ARRAY_SIZE(ek_leds)); |
241 | /* PCK0 provides MCLK to the WM8731 */ | ||
242 | at91_set_B_periph(AT91_PIN_PC1, 0); | ||
243 | /* SSC (for WM8731) */ | ||
244 | at91_add_device_ssc(AT91SAM9260_ID_SSC, ATMEL_SSC_TX); | ||
241 | } | 245 | } |
242 | 246 | ||
243 | MACHINE_START(AT91SAM9G20EK, "Atmel AT91SAM9G20-EK") | 247 | MACHINE_START(AT91SAM9G20EK, "Atmel AT91SAM9G20-EK") |