From c82009058bd9d3fd9774cab36e9d89434f9563f4 Mon Sep 17 00:00:00 2001 From: Peng Fan Date: Thu, 12 Feb 2015 09:36:28 +0800 Subject: [PATCH] imx:mx6slevk add pmic and i2c configuration Add pmic and i2c configuration in board header file. Signed-off-by: Peng Fan --- include/configs/mx6slevk.h | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/include/configs/mx6slevk.h b/include/configs/mx6slevk.h index c567d9dbb6..122141846e 100644 --- a/include/configs/mx6slevk.h +++ b/include/configs/mx6slevk.h @@ -48,6 +48,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 + #define CONFIG_CMD_PING #define CONFIG_CMD_DHCP #define CONFIG_CMD_MII -- 2.39.5