summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorFabio Estevam <fabio.estevam@freescale.com>2014-07-09 16:13:30 -0300
committerStefano Babic <sbabic@denx.de>2014-07-23 12:25:40 +0200
commitfa8cf3176cc3360d308db1aad8bd70458553c78a (patch)
treef76c6c61a98d2e81803a541fb9b2fb748e6e7057 /include
parenta3df99b50f759794df9ee13f3a371954eb6b761b (diff)
downloadu-boot-imx-fa8cf3176cc3360d308db1aad8bd70458553c78a.zip
u-boot-imx-fa8cf3176cc3360d308db1aad8bd70458553c78a.tar.gz
u-boot-imx-fa8cf3176cc3360d308db1aad8bd70458553c78a.tar.bz2
mx6sxsabresd: Add PFUZE100 PMIC support
Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Diffstat (limited to 'include')
-rw-r--r--include/configs/mx6sxsabresd.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/include/configs/mx6sxsabresd.h b/include/configs/mx6sxsabresd.h
index 390286b..7967b5d 100644
--- a/include/configs/mx6sxsabresd.h
+++ b/include/configs/mx6sxsabresd.h
@@ -28,6 +28,7 @@
#define CONFIG_SYS_MALLOC_LEN (3 * SZ_1M)
#define CONFIG_BOARD_EARLY_INIT_F
+#define CONFIG_BOARD_LATE_INIT
#define CONFIG_MXC_GPIO
#define CONFIG_MXC_UART
@@ -168,6 +169,18 @@
#define CONFIG_CMD_FAT
#define CONFIG_DOS_PARTITION
+/* 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
+
/* FLASH and environment organization */
#define CONFIG_SYS_NO_FLASH