]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
imx:mx6slevk add pmic and i2c configuration
authorPeng Fan <Peng.Fan@freescale.com>
Thu, 12 Feb 2015 01:36:28 +0000 (09:36 +0800)
committerStefano Babic <sbabic@denx.de>
Mon, 23 Feb 2015 08:11:40 +0000 (09:11 +0100)
Add pmic and i2c configuration in board header file.

Signed-off-by: Peng Fan <Peng.Fan@freescale.com>
include/configs/mx6slevk.h

index c567d9dbb68144b406c0e4bcab4e0c1b4fa1048b..122141846e5e7f574728b17bcc4725043ca839b2 100644 (file)
 #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
+
 #define CONFIG_CMD_PING
 #define CONFIG_CMD_DHCP
 #define CONFIG_CMD_MII