From: Marek BehĂșn Date: Thu, 2 May 2019 14:53:39 +0000 (+0200) Subject: arm: mvebu: turris_omnia: add GPIO support to defconfig X-Git-Tag: v2019.07-rc2~26^2~1 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=fee9e83557e32fb2cdfec6bc4e7841474182bca9;p=oweals%2Fu-boot.git arm: mvebu: turris_omnia: add GPIO support to defconfig Add support for the gpio command and driver for the I2C connected pca9538 controller, to be able to determine if SFP module is present in the Turris Omnia router. Signed-off-by: Marek BehĂșn Reviewed-by: Stefan Roese Signed-off-by: Stefan Roese --- diff --git a/configs/turris_omnia_defconfig b/configs/turris_omnia_defconfig index 93763c41d0..6caa1a9918 100644 --- a/configs/turris_omnia_defconfig +++ b/configs/turris_omnia_defconfig @@ -24,6 +24,7 @@ CONFIG_SPL_TEXT_BASE=0x40000030 CONFIG_SPL_I2C_SUPPORT=y CONFIG_SPL_SPI_LOAD=y # CONFIG_CMD_FLASH is not set +CONFIG_CMD_GPIO=y CONFIG_CMD_I2C=y CONFIG_CMD_MMC=y CONFIG_CMD_PCI=y @@ -48,6 +49,10 @@ CONFIG_AHCI_MVEBU=y CONFIG_SATA=y CONFIG_SCSI=y CONFIG_SCSI_AHCI=y +CONFIG_SPL_GPIO_SUPPORT=y +CONFIG_DM_GPIO=y +# CONFIG_MVEBU_GPIO is not set +CONFIG_DM_PCA953X=y CONFIG_DM_MMC=y CONFIG_MMC_SDHCI=y CONFIG_MMC_SDHCI_MV=y