diff options
author | Peng Fan <Peng.Fan@freescale.com> | 2015-02-12 09:36:28 +0800 |
---|---|---|
committer | Stefano Babic <sbabic@denx.de> | 2015-02-23 09:11:40 +0100 |
commit | c82009058bd9d3fd9774cab36e9d89434f9563f4 (patch) | |
tree | f9b4917017bc35b5aa962747a49c9e2291c54068 /include | |
parent | 9c3de876a1082b0390c7ddea9b5eda48d2dd7392 (diff) | |
download | u-boot-imx-c82009058bd9d3fd9774cab36e9d89434f9563f4.zip u-boot-imx-c82009058bd9d3fd9774cab36e9d89434f9563f4.tar.gz u-boot-imx-c82009058bd9d3fd9774cab36e9d89434f9563f4.tar.bz2 |
imx:mx6slevk add pmic and i2c configuration
Add pmic and i2c configuration in board header file.
Signed-off-by: Peng Fan <Peng.Fan@freescale.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/configs/mx6slevk.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/include/configs/mx6slevk.h b/include/configs/mx6slevk.h index c567d9d..1221418 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 |