From: Peter Robinson Date: Fri, 2 Apr 2021 14:52:29 +0000 (+0100) Subject: ARM: riotboard: Enable OF_CONTROL and DM gpio/pin control X-Git-Url: http://git.dujemihanovic.xyz/?a=commitdiff_plain;h=10ce58c0814df5873b17b94669017f7f4080f33a;p=u-boot.git ARM: riotboard: Enable OF_CONTROL and DM gpio/pin control Enable OF_CONTROL and DM for gpio and pin control support on the i.MX6D based riotboard. Signed-off-by: Peter Robinson Cc: "Eric BĂ©nard" Cc: Fabio Estevam Cc: Stefano Babic --- diff --git a/configs/riotboard_defconfig b/configs/riotboard_defconfig index 074c0d5b44..0284f86405 100644 --- a/configs/riotboard_defconfig +++ b/configs/riotboard_defconfig @@ -5,10 +5,12 @@ CONFIG_SPL_GPIO_SUPPORT=y CONFIG_SPL_LIBCOMMON_SUPPORT=y CONFIG_SPL_LIBGENERIC_SUPPORT=y CONFIG_NR_DRAM_BANKS=1 +CONFIG_DEFAULT_DEVICE_TREE="imx6dl-riotboard" CONFIG_ENV_SIZE=0x2000 CONFIG_ENV_OFFSET=0x60000 CONFIG_MX6S=y CONFIG_TARGET_EMBESTMX6BOARDS=y +CONFIG_OF_CONTROL=y CONFIG_SPL_TEXT_BASE=0x00908000 CONFIG_SPL_MMC_SUPPORT=y CONFIG_SPL_SERIAL_SUPPORT=y @@ -27,6 +29,7 @@ CONFIG_SPL_OS_BOOT=y CONFIG_CMD_GPIO=y CONFIG_CMD_I2C=y CONFIG_CMD_MMC=y +# CONFIG_CMD_PINMUX is not set CONFIG_CMD_SF=y CONFIG_CMD_USB=y CONFIG_CMD_CACHE=y @@ -36,9 +39,12 @@ CONFIG_ENV_IS_IN_MMC=y CONFIG_SYS_RELOC_GD_ENV_ADDR=y CONFIG_SYS_MMC_ENV_DEV=2 CONFIG_DM=y +CONFIG_DM_GPIO=y CONFIG_BOUNCE_BUFFER=y CONFIG_SUPPORT_EMMC_BOOT=y CONFIG_FSL_USDHC=y +CONFIG_PINCTRL=y +CONFIG_PINCTRL_IMX6=y CONFIG_SPI_FLASH=y CONFIG_SF_DEFAULT_MODE=0 CONFIG_SF_DEFAULT_SPEED=20000000