diff options
author | Vanessa Maegima <vanessa.maegima@nxp.com> | 2016-07-13 14:27:32 -0300 |
---|---|---|
committer | Stefano Babic <sbabic@denx.de> | 2016-07-19 19:52:12 +0200 |
commit | 88e4774efdf6ae4bf43969ad95ce67d0f228b91a (patch) | |
tree | 347912a3a4d8c6289291bc226700924670101d02 /include/configs | |
parent | 67ff9e11f3971a668a0abd3efbb027ebf985b5b6 (diff) |
pico-imx6ul: Add PMIC support
Add PMIC support. Tested by command "pmic PFUZE3000 dump".
Signed-off-by: Vanessa Maegima <vanessa.maegima@nxp.com>
Reviewed-by: Fabio Estevam <fabio.estevam@nxp.com>
Diffstat (limited to 'include/configs')
-rw-r--r-- | include/configs/pico-imx6ul.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/include/configs/pico-imx6ul.h b/include/configs/pico-imx6ul.h index f9fc263d99..a1e5f01f82 100644 --- a/include/configs/pico-imx6ul.h +++ b/include/configs/pico-imx6ul.h @@ -158,6 +158,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 |