Commit 423145a5 authored by Mark Brown's avatar Mark Brown Committed by Russell King
Browse files

[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: default avatarMark Brown <>
Acked-by: default avatarAndrew Victor <>
Signed-off-by: default avatarRussell King <>
parent d92c60f8
......@@ -238,6 +238,10 @@ static void __init ek_board_init(void)
at91_add_device_i2c(NULL, 0);
/* LEDs */
at91_gpio_leds(ek_leds, ARRAY_SIZE(ek_leds));
/* PCK0 provides MCLK to the WM8731 */
at91_set_B_periph(AT91_PIN_PC1, 0);
/* SSC (for WM8731) */
at91_add_device_ssc(AT91SAM9260_ID_SSC, ATMEL_SSC_TX);
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment