]> git.kernelconcepts.de Git - karo-tx-uboot.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)
committerLothar Waßmann <LW@KARO-electronics.de>
Tue, 1 Sep 2015 11:53:56 +0000 (13:53 +0200)
Add pmic and i2c configuration in board header file.

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

index e363ed43c029696f24d9ce428083d198a54bc3d7..9ba65739cf10983fc169593b10470cb505b67ea2 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