diff options
author | Jose Miguel Sanchez Sanabria <jsanabria@iseebcn.com> | 2018-01-15 17:04:45 +0100 |
---|---|---|
committer | Jose Miguel Sanchez Sanabria <jsanabria@iseebcn.com> | 2018-01-15 17:04:45 +0100 |
commit | 9df58728921b6ef640724c7cf78ac9e94af36008 (patch) | |
tree | a222b22616529b185a5bc0211ecde8382ea8c648 /include | |
parent | c0968c9d58ec790a8d39dac726e35f5dadfbb962 (diff) | |
download | u-boot-imx-9df58728921b6ef640724c7cf78ac9e94af36008.zip u-boot-imx-9df58728921b6ef640724c7cf78ac9e94af36008.tar.gz u-boot-imx-9df58728921b6ef640724c7cf78ac9e94af36008.tar.bz2 |
Added support for I2C bus 0 1 2, and PMIC PF0100
Diffstat (limited to 'include')
-rw-r--r-- | include/configs/igep0046.h | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/include/configs/igep0046.h b/include/configs/igep0046.h index 0e648de..9154a6d 100644 --- a/include/configs/igep0046.h +++ b/include/configs/igep0046.h @@ -50,6 +50,7 @@ #define CONFIG_SYS_INIT_SP_ADDR \ (CONFIG_SYS_INIT_RAM_ADDR + CONFIG_SYS_INIT_SP_OFFSET) +/* Miscellaneous configurable options */ #define CONFIG_AUTOBOOT_KEYED #define CONFIG_AUTOBOOT_PROMPT "Press ESC to abort autoboot in %d seconds\n", bootdelay #define CONFIG_AUTOBOOT_STOP_STR "\x1b" @@ -60,6 +61,22 @@ #define CONFIG_CMDLINE_EDITING #define CONFIG_STACKSIZE (128 * 1024) +/* I2C Configs */ +#define CONFIG_CMD_I2C +#define CONFIG_SYS_I2C +#define CONFIG_SYS_I2C_MXC +#define CONFIG_SYS_I2C_MXC_I2C1 /* enable I2C bus 1 */ +#define CONFIG_SYS_I2C_MXC_I2C2 /* enable I2C bus 2 */ +#define CONFIG_SYS_I2C_MXC_I2C3 /* enable I2C bus 3 */ +#define CONFIG_SYS_I2C_SPEED 100000 + + +/* PMIC Configs */ +#define CONFIG_POWER +#define CONFIG_POWER_I2C +#define CONFIG_POWER_PFUZE100 +#define CONFIG_POWER_PFUZE100_I2C_ADDR 0x08 + /* MMC Configs */ #define CONFIG_FSL_ESDHC #define CONFIG_FSL_USDHC |