From: Peng Fan Date: Thu, 12 Feb 2015 01:36:28 +0000 (+0800) Subject: imx:mx6slevk add pmic and i2c configuration X-Git-Tag: v2015.04-rc4~118^2~18 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=c82009058bd9d3fd9774cab36e9d89434f9563f4;p=u-boot imx:mx6slevk add pmic and i2c configuration Add pmic and i2c configuration in board header file. Signed-off-by: Peng Fan --- diff --git a/include/configs/mx6slevk.h b/include/configs/mx6slevk.h index c567d9dbb6..122141846e 100644 --- a/include/configs/mx6slevk.h +++ b/include/configs/mx6slevk.h @@ -48,6 +48,18 @@ #define CONFIG_CMD_FAT #define CONFIG_DOS_PARTITION +/* I2C Configs */ +#define CONFIG_CMD_I2C +#define CONFIG_SYS_I2C +#define CONFIG_SYS_I2C_MXC +#define CONFIG_SYS_I2C_SPEED 100000 + +/* PMIC */ +#define CONFIG_POWER +#define CONFIG_POWER_I2C +#define CONFIG_POWER_PFUZE100 +#define CONFIG_POWER_PFUZE100_I2C_ADDR 0x08 + #define CONFIG_CMD_PING #define CONFIG_CMD_DHCP #define CONFIG_CMD_MII