diff options
Diffstat (limited to 'arch/arm/mach-at91/board-sam9g20ek.c')
-rw-r--r-- | arch/arm/mach-at91/board-sam9g20ek.c | 15 |
1 files changed, 13 insertions, 2 deletions
diff --git a/arch/arm/mach-at91/board-sam9g20ek.c b/arch/arm/mach-at91/board-sam9g20ek.c index 3ab2b86a3762..1b7dd9f688d3 100644 --- a/arch/arm/mach-at91/board-sam9g20ek.c +++ b/arch/arm/mach-at91/board-sam9g20ek.c | |||
@@ -43,11 +43,11 @@ | |||
43 | #include <asm/mach/map.h> | 43 | #include <asm/mach/map.h> |
44 | #include <asm/mach/irq.h> | 44 | #include <asm/mach/irq.h> |
45 | 45 | ||
46 | #include <mach/board.h> | ||
47 | #include <mach/at91_aic.h> | ||
48 | #include <mach/at91sam9_smc.h> | 46 | #include <mach/at91sam9_smc.h> |
49 | #include <mach/system_rev.h> | 47 | #include <mach/system_rev.h> |
50 | 48 | ||
49 | #include "at91_aic.h" | ||
50 | #include "board.h" | ||
51 | #include "sam9_smc.h" | 51 | #include "sam9_smc.h" |
52 | #include "generic.h" | 52 | #include "generic.h" |
53 | 53 | ||
@@ -353,6 +353,16 @@ static struct i2c_board_info __initdata ek_i2c_devices[] = { | |||
353 | }, | 353 | }, |
354 | }; | 354 | }; |
355 | 355 | ||
356 | static struct platform_device sam9g20ek_audio_device = { | ||
357 | .name = "at91sam9g20ek-audio", | ||
358 | .id = -1, | ||
359 | }; | ||
360 | |||
361 | static void __init ek_add_device_audio(void) | ||
362 | { | ||
363 | platform_device_register(&sam9g20ek_audio_device); | ||
364 | } | ||
365 | |||
356 | 366 | ||
357 | static void __init ek_board_init(void) | 367 | static void __init ek_board_init(void) |
358 | { | 368 | { |
@@ -394,6 +404,7 @@ static void __init ek_board_init(void) | |||
394 | at91_set_B_periph(AT91_PIN_PC1, 0); | 404 | at91_set_B_periph(AT91_PIN_PC1, 0); |
395 | /* SSC (for WM8731) */ | 405 | /* SSC (for WM8731) */ |
396 | at91_add_device_ssc(AT91SAM9260_ID_SSC, ATMEL_SSC_TX); | 406 | at91_add_device_ssc(AT91SAM9260_ID_SSC, ATMEL_SSC_TX); |
407 | ek_add_device_audio(); | ||
397 | } | 408 | } |
398 | 409 | ||
399 | MACHINE_START(AT91SAM9G20EK, "Atmel AT91SAM9G20-EK") | 410 | MACHINE_START(AT91SAM9G20EK, "Atmel AT91SAM9G20-EK") |