diff options
author | Otavio Salvador <otavio@ossystems.com.br> | 2015-07-23 11:02:28 -0300 |
---|---|---|
committer | Stefano Babic <sbabic@denx.de> | 2015-07-26 12:29:13 +0200 |
commit | 4c9929d63a51596db51c77620390b7b85feb8ecd (patch) | |
tree | 64ee2c09f8f0f9f70b1fc4ce81dcb3eb0b026db4 /include/configs/cgtqmx6eval.h | |
parent | 862187b7cd7b9f7477d41532bc907b792455eb0d (diff) |
cgtqmx6eval: Add PMIC support
cgtqmx6eval has a PFUZE100 FSL PMIC connected to I2C2.
Add support for it.
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Diffstat (limited to 'include/configs/cgtqmx6eval.h')
-rw-r--r-- | include/configs/cgtqmx6eval.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/include/configs/cgtqmx6eval.h b/include/configs/cgtqmx6eval.h index c82bb4101e5..ebe869e9d37 100644 --- a/include/configs/cgtqmx6eval.h +++ b/include/configs/cgtqmx6eval.h @@ -40,6 +40,19 @@ #define CONFIG_MXC_OCOTP #endif +/* I2C Configs */ +#define CONFIG_CMD_I2C +#define CONFIG_SYS_I2C +#define CONFIG_SYS_I2C_MXC +#define CONFIG_SYS_I2C_MXC_I2C2 /* enable I2C bus 2 */ +#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_DEFAULT_FDT_FILE "imx6q-congatec.dtb" #define CONFIG_EXTRA_ENV_SETTINGS \ |