]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - include/configs/cgtqmx6eval.h
cgtqmx6eval: Add PMIC support
[karo-tx-uboot.git] / include / configs / cgtqmx6eval.h
index c82bb4101e5d7e327e83d8d8b8f66aa0d29d61b0..ebe869e9d37f797850bb8ca0d5c14a5bbff0172f 100644 (file)
 #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 \