summaryrefslogtreecommitdiff
path: root/include/configs/warp.h
diff options
context:
space:
mode:
authorFabio Estevam <fabio.estevam@freescale.com>2015-07-21 19:48:41 -0300
committerStefano Babic <sbabic@denx.de>2015-07-26 12:12:04 +0200
commit44f98f9c8e178942ad51b77b6d2a66820fa9d3cc (patch)
tree3b438659a92ca76c39cf2e17cacb6cfcfea3aa31 /include/configs/warp.h
parenta643acd44c342afbbe14eb073f86a6d0a355c121 (diff)
warp: Add MAX77696 support
Warp has a MAX77696 PMIC connected via I2C1 bus. Add support for it. Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Diffstat (limited to 'include/configs/warp.h')
-rw-r--r--include/configs/warp.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/include/configs/warp.h b/include/configs/warp.h
index 2331767b13..d5c3215099 100644
--- a/include/configs/warp.h
+++ b/include/configs/warp.h
@@ -94,6 +94,17 @@
#define CONFIG_SYS_DFU_DATA_BUF_SIZE SZ_16M
#define DFU_DEFAULT_POLL_TIMEOUT 300
+/* 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_MAX77696
+
#define CONFIG_EXTRA_ENV_SETTINGS \
"script=boot.scr\0" \
"image=zImage\0" \