summaryrefslogtreecommitdiff
path: root/include/configs/warp7.h
diff options
context:
space:
mode:
authorVanessa Maegima <vanessa.maegima@nxp.com>2016-08-19 10:21:36 -0300
committerStefano Babic <sbabic@denx.de>2016-09-06 18:22:48 +0200
commit7d301a594d24e4ed63b3099cdb9e09249f945def (patch)
tree9af17e7fa9000545d15c2317aae5ae1647c50d06 /include/configs/warp7.h
parentff3832205eb53b3e0ceebb6cd5d8891e0ec455d9 (diff)
downloadu-boot-7d301a594d24e4ed63b3099cdb9e09249f945def.tar.gz
warp7: 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> Reviewed-by: Stefano Babic <sbabic@denx.de>
Diffstat (limited to 'include/configs/warp7.h')
-rw-r--r--include/configs/warp7.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/include/configs/warp7.h b/include/configs/warp7.h
index e59b16c379..57a8123d2e 100644
--- a/include/configs/warp7.h
+++ b/include/configs/warp7.h
@@ -103,6 +103,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
#define CONFIG_ENV_SIZE SZ_8K