Commit c82009058bd9d3fd9774cab36e9d89434f9563f4

Authored by Peng Fan
Committed by Stefano Babic
1 parent 9c3de876a1

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>

Showing 1 changed file with 12 additions and 0 deletions Side-by-side Diff

include/configs/mx6slevk.h
... ... @@ -48,6 +48,18 @@
48 48 #define CONFIG_CMD_FAT
49 49 #define CONFIG_DOS_PARTITION
50 50  
  51 +/* I2C Configs */
  52 +#define CONFIG_CMD_I2C
  53 +#define CONFIG_SYS_I2C
  54 +#define CONFIG_SYS_I2C_MXC
  55 +#define CONFIG_SYS_I2C_SPEED 100000
  56 +
  57 +/* PMIC */
  58 +#define CONFIG_POWER
  59 +#define CONFIG_POWER_I2C
  60 +#define CONFIG_POWER_PFUZE100
  61 +#define CONFIG_POWER_PFUZE100_I2C_ADDR 0x08
  62 +
51 63 #define CONFIG_CMD_PING
52 64 #define CONFIG_CMD_DHCP
53 65 #define CONFIG_CMD_MII