ARM: am33xx: beaglebone: configure I2C EEPROM
Signed-off-by: Jan Luebbe <jlu@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
This commit is contained in:
parent
ed02d24564
commit
8a46a7dce9
|
@ -97,11 +97,20 @@ static void beaglebone_eth_init(void)
|
|||
am33xx_add_cpsw(&cpsw_data);
|
||||
}
|
||||
|
||||
static struct i2c_board_info i2c0_devices[] = {
|
||||
{
|
||||
I2C_BOARD_INFO("24c256", 0x50)
|
||||
},
|
||||
};
|
||||
|
||||
static int beaglebone_devices_init(void)
|
||||
{
|
||||
am33xx_add_mmc0(NULL);
|
||||
|
||||
am33xx_enable_i2c0_pin_mux();
|
||||
i2c_register_board_info(0, i2c0_devices, ARRAY_SIZE(i2c0_devices));
|
||||
am33xx_add_i2c0(NULL);
|
||||
|
||||
beaglebone_eth_init();
|
||||
|
||||
armlinux_set_bootparams((void *)0x80000100);
|
||||
|
|
Loading…
Reference in New Issue