diff options
author | Fabio Estevam <fabio.estevam@freescale.com> | 2014-05-09 13:15:42 -0300 |
---|---|---|
committer | Stefano Babic <sbabic@denx.de> | 2014-05-28 17:35:39 +0200 |
commit | 66ca09fc41040c9a74a3ca7d9455542467ec7e3e (patch) | |
tree | 54a5129a758fbc858119ffbf04004300030ea952 /include/configs/mx6sabresd.h | |
parent | 186feb0b4d92b1201694f43fe605fdb305523893 (diff) | |
download | u-boot-66ca09fc41040c9a74a3ca7d9455542467ec7e3e.tar.gz |
mx6sabred: Add PFUZE100 PMIC support
mx6sabresd boards have a PFUZE100 PMIC connected to I2C2 bus.
Add support for it
Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Diffstat (limited to 'include/configs/mx6sabresd.h')
-rw-r--r-- | include/configs/mx6sabresd.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/include/configs/mx6sabresd.h b/include/configs/mx6sabresd.h index 0fa6573c7f..e666ebb998 100644 --- a/include/configs/mx6sabresd.h +++ b/include/configs/mx6sabresd.h @@ -59,4 +59,16 @@ #define CONFIG_PCIE_IMX_POWER_GPIO IMX_GPIO_NR(3, 19) #endif +/* 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 + #endif /* __MX6QSABRESD_CONFIG_H */ |