summaryrefslogtreecommitdiff
path: root/include/configs/mx6sabresd.h
diff options
context:
space:
mode:
authorFabio Estevam <fabio.estevam@freescale.com>2014-05-09 16:15:42 (GMT)
committerStefano Babic <sbabic@denx.de>2014-05-28 15:35:39 (GMT)
commit66ca09fc41040c9a74a3ca7d9455542467ec7e3e (patch)
tree54a5129a758fbc858119ffbf04004300030ea952 /include/configs/mx6sabresd.h
parent186feb0b4d92b1201694f43fe605fdb305523893 (diff)
downloadu-boot-66ca09fc41040c9a74a3ca7d9455542467ec7e3e.tar.xz
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.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/include/configs/mx6sabresd.h b/include/configs/mx6sabresd.h
index 0fa6573..e666ebb 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 */