diff options
author | Jon Nettleton <jon@solid-run.com> | 2018-05-28 19:10:30 +0300 |
---|---|---|
committer | Stefan Roese <sr@denx.de> | 2018-06-05 07:29:09 +0200 |
commit | 4ea813d333feec005385f2eb602c3a676832be64 (patch) | |
tree | 9d6a31fe65e30caa18ef6df959fdf6e6b4bce1d2 /configs/clearfog_defconfig | |
parent | d6db446f70c56de5cf57077fdb2329aaa58b740d (diff) | |
download | u-boot-4ea813d333feec005385f2eb602c3a676832be64.tar.gz u-boot-4ea813d333feec005385f2eb602c3a676832be64.tar.bz2 u-boot-4ea813d333feec005385f2eb602c3a676832be64.zip |
arm: mvebu: switch clearfog to use device-tree i2c and gpio
This switches the clearfog boards to use DM based gpio and i2c
drivers. The io expanders are configured via their device-tree
entries.
Signed-off-by: Jon Nettleton <jon@solid-run.com>
[baruch: add DT i2c aliases]
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Reviewed-by: Chris Packham <judge.packham@gmail.com>
Reviewed-by: Stefan Roese <sr@denx.de>
Signed-off-by: Stefan Roese <sr@denx.de>
Diffstat (limited to 'configs/clearfog_defconfig')
-rw-r--r-- | configs/clearfog_defconfig | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/configs/clearfog_defconfig b/configs/clearfog_defconfig index e471c876fa..7a9ee51017 100644 --- a/configs/clearfog_defconfig +++ b/configs/clearfog_defconfig @@ -1,6 +1,7 @@ CONFIG_ARM=y CONFIG_ARCH_MVEBU=y CONFIG_SYS_TEXT_BASE=0x00800000 +CONFIG_SPL_GPIO_SUPPORT=y CONFIG_SPL_LIBCOMMON_SUPPORT=y CONFIG_SPL_LIBGENERIC_SUPPORT=y CONFIG_SYS_MALLOC_F_LEN=0x2000 @@ -21,6 +22,7 @@ CONFIG_DISPLAY_BOARDINFO_LATE=y CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR=0x141 CONFIG_SPL_I2C_SUPPORT=y # CONFIG_CMD_FLASH is not set +CONFIG_CMD_GPIO=y CONFIG_CMD_I2C=y CONFIG_CMD_MMC=y CONFIG_CMD_PCI=y @@ -36,6 +38,10 @@ CONFIG_ENV_IS_IN_MMC=y CONFIG_NET_RANDOM_ETHADDR=y CONFIG_SPL_OF_TRANSLATE=y CONFIG_SCSI_AHCI=y +CONFIG_DM_GPIO=y +CONFIG_DM_PCA953X=y +CONFIG_DM_I2C=y +CONFIG_SYS_I2C_MVTWSI=y CONFIG_MMC_SDHCI=y CONFIG_MMC_SDHCI_SDMA=y CONFIG_MMC_SDHCI_MV=y |