diff options
author | Robert Beckett <bob.beckett@collabora.com> | 2020-01-31 15:07:54 +0200 |
---|---|---|
committer | Stefano Babic <sbabic@denx.de> | 2020-02-09 21:47:20 +0100 |
commit | 1dec7fa79716adb478052798ceb0cf5c3a412f61 (patch) | |
tree | 9b7cf8add78976ba994a332ba6f7cb68ead607d2 /configs/ge_bx50v3_defconfig | |
parent | b64088c5c2d161a8732f04076195a48d8bbf25e7 (diff) | |
download | u-boot-1dec7fa79716adb478052798ceb0cf5c3a412f61.zip u-boot-1dec7fa79716adb478052798ceb0cf5c3a412f61.tar.gz u-boot-1dec7fa79716adb478052798ceb0cf5c3a412f61.tar.bz2 |
board: ge: bx50v3, imx53ppd: use DM I2C
Remove old (pre-DM) i2c setup code.
Enable DM i2c.
Convert common code to use DM rtc.
Convert common code to read VPD from eeprom partition.
Convert the generic i2c PMIC init code to use the new da9063 driver.
mx53ppd only:
Correct RTC compatible in device tree.
Enable MXC DM i2c driver.
Define CONFIG_SYS_MALLOC_F_LEN so that DM is available in pre-reloc.
Make GPIO banks available during preloc, since initialisation is done
in board_early_init_f().
Add gpio_request() calls to satisfy the DM_GPIO compatibility API.
Remove unused power configuration.
Signed-off-by: Robert Beckett <bob.beckett@collabora.com>
Signed-off-by: Ian Ray <ian.ray@ge.com>
Diffstat (limited to 'configs/ge_bx50v3_defconfig')
-rw-r--r-- | configs/ge_bx50v3_defconfig | 15 |
1 files changed, 12 insertions, 3 deletions
diff --git a/configs/ge_bx50v3_defconfig b/configs/ge_bx50v3_defconfig index 33579ce..746bc25 100644 --- a/configs/ge_bx50v3_defconfig +++ b/configs/ge_bx50v3_defconfig @@ -2,9 +2,6 @@ CONFIG_ARM=y CONFIG_ARCH_MX6=y CONFIG_SYS_TEXT_BASE=0x17800000 CONFIG_SYS_MALLOC_F_LEN=0x4000 -CONFIG_SYS_VPD_EEPROM_I2C_ADDR=0x50 -CONFIG_SYS_VPD_EEPROM_I2C_BUS=4 -CONFIG_SYS_VPD_EEPROM_SIZE=1024 CONFIG_TARGET_GE_BX50V3=y CONFIG_ENV_SIZE=0x2000 CONFIG_ENV_SECT_SIZE=0x10000 @@ -51,6 +48,12 @@ CONFIG_BOOTCOUNT_LIMIT=y CONFIG_BOOTCOUNT_EXT=y CONFIG_SYS_BOOTCOUNT_EXT_DEVPART="1:5" CONFIG_DM_MMC=y +CONFIG_DM_I2C=y +CONFIG_SYS_I2C_MXC=y +CONFIG_I2C_MUX=y +CONFIG_I2C_MUX_PCA954x=y +CONFIG_MISC=y +CONFIG_I2C_EEPROM=y CONFIG_SUPPORT_EMMC_BOOT=y CONFIG_FSL_USDHC=y CONFIG_MTD=y @@ -71,6 +74,12 @@ CONFIG_DM_PCI=y CONFIG_PINCTRL=y CONFIG_PINCTRL_IMX6=y CONFIG_PWM_IMX=y +CONFIG_DM_PMIC=y +CONFIG_DM_PMIC_DA9063=y +CONFIG_DM_REGULATOR=y +CONFIG_DM_REGULATOR_DA9063=y +CONFIG_DM_RTC=y +CONFIG_RTC_RX8010SJ=y CONFIG_SPI=y CONFIG_DM_SPI=y CONFIG_MXC_SPI=y |