From 7d301a594d24e4ed63b3099cdb9e09249f945def Mon Sep 17 00:00:00 2001 From: Vanessa Maegima Date: Fri, 19 Aug 2016 10:21:36 -0300 Subject: warp7: Add PMIC support Add PMIC support. Tested by command "pmic PFUZE3000 dump". Signed-off-by: Vanessa Maegima Reviewed-by: Fabio Estevam Reviewed-by: Stefano Babic --- include/configs/warp7.h | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'include/configs/warp7.h') diff --git a/include/configs/warp7.h b/include/configs/warp7.h index e59b16c379..57a8123d2e 100644 --- a/include/configs/warp7.h +++ b/include/configs/warp7.h @@ -103,6 +103,18 @@ #define CONFIG_SYS_INIT_SP_ADDR \ (CONFIG_SYS_INIT_RAM_ADDR + CONFIG_SYS_INIT_SP_OFFSET) +/* I2C configs */ +#define CONFIG_SYS_I2C +#define CONFIG_SYS_I2C_MXC +#define CONFIG_SYS_I2C_MXC_I2C1 +#define CONFIG_SYS_I2C_SPEED 100000 + +/* PMIC */ +#define CONFIG_POWER +#define CONFIG_POWER_I2C +#define CONFIG_POWER_PFUZE3000 +#define CONFIG_POWER_PFUZE3000_I2C_ADDR 0x08 + /* FLASH and environment organization */ #define CONFIG_SYS_NO_FLASH #define CONFIG_ENV_SIZE SZ_8K -- cgit v1.2.3