aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-at91/board-sam9g20ek.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/mach-at91/board-sam9g20ek.c')
-rw-r--r--arch/arm/mach-at91/board-sam9g20ek.c9
1 files changed, 8 insertions, 1 deletions
diff --git a/arch/arm/mach-at91/board-sam9g20ek.c b/arch/arm/mach-at91/board-sam9g20ek.c
index 438efbb17482..cc270beadd5d 100644
--- a/arch/arm/mach-at91/board-sam9g20ek.c
+++ b/arch/arm/mach-at91/board-sam9g20ek.c
@@ -218,6 +218,13 @@ static struct gpio_led ek_leds[] = {
218 } 218 }
219}; 219};
220 220
221static struct i2c_board_info __initdata ek_i2c_devices[] = {
222 {
223 I2C_BOARD_INFO("24c512", 0x50),
224 },
225};
226
227
221static void __init ek_board_init(void) 228static void __init ek_board_init(void)
222{ 229{
223 /* Serial */ 230 /* Serial */
@@ -235,7 +242,7 @@ static void __init ek_board_init(void)
235 /* MMC */ 242 /* MMC */
236 at91_add_device_mmc(0, &ek_mmc_data); 243 at91_add_device_mmc(0, &ek_mmc_data);
237 /* I2C */ 244 /* I2C */
238 at91_add_device_i2c(NULL, 0); 245 at91_add_device_i2c(ek_i2c_devices, ARRAY_SIZE(ek_i2c_devices));
239 /* LEDs */ 246 /* LEDs */
240 at91_gpio_leds(ek_leds, ARRAY_SIZE(ek_leds)); 247 at91_gpio_leds(ek_leds, ARRAY_SIZE(ek_leds));
241 /* PCK0 provides MCLK to the WM8731 */ 248 /* PCK0 provides MCLK to the WM8731 */