diff options
-rw-r--r-- | arch/arm/mach-omap2/board-omap3beagle.c | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/arch/arm/mach-omap2/board-omap3beagle.c b/arch/arm/mach-omap2/board-omap3beagle.c index 55348412da76..e27f3bf45a35 100644 --- a/arch/arm/mach-omap2/board-omap3beagle.c +++ b/arch/arm/mach-omap2/board-omap3beagle.c | |||
@@ -412,13 +412,19 @@ static struct i2c_board_info __initdata beagle_i2c_boardinfo[] = { | |||
412 | }, | 412 | }, |
413 | }; | 413 | }; |
414 | 414 | ||
415 | static struct i2c_board_info __initdata beagle_i2c_eeprom[] = { | ||
416 | { | ||
417 | I2C_BOARD_INFO("eeprom", 0x50), | ||
418 | }, | ||
419 | }; | ||
420 | |||
415 | static int __init omap3_beagle_i2c_init(void) | 421 | static int __init omap3_beagle_i2c_init(void) |
416 | { | 422 | { |
417 | omap_register_i2c_bus(1, 2600, beagle_i2c_boardinfo, | 423 | omap_register_i2c_bus(1, 2600, beagle_i2c_boardinfo, |
418 | ARRAY_SIZE(beagle_i2c_boardinfo)); | 424 | ARRAY_SIZE(beagle_i2c_boardinfo)); |
419 | /* Bus 3 is attached to the DVI port where devices like the pico DLP | 425 | /* Bus 3 is attached to the DVI port where devices like the pico DLP |
420 | * projector don't work reliably with 400kHz */ | 426 | * projector don't work reliably with 400kHz */ |
421 | omap_register_i2c_bus(3, 100, NULL, 0); | 427 | omap_register_i2c_bus(3, 100, beagle_i2c_eeprom, ARRAY_SIZE(beagle_i2c_eeprom)); |
422 | return 0; | 428 | return 0; |
423 | } | 429 | } |
424 | 430 | ||