[PATCH 3/3] configs: phycore_am62x_a53_defconfig: Enable gpio
Mattijs Korpershoek
mkorpershoek at baylibre.com
Mon Mar 31 10:53:04 CEST 2025
Hi Daniel,
Thank you for the patch.
On jeu., mars 27, 2025 at 22:58, Daniel Schultz <d.schultz at phytec.de> wrote:
> The AM62x uses the DA8XX (DaVinci) GPIO controller. Enable
> CONFIG_DA8XX_GPIO to support GPIO access from the Cortex-A53.
>
> Also enable the 'gpio' command to allow users to interact
> with GPIOs from the U-Boot shell.
>
> Signed-off-by: Daniel Schultz <d.schultz at phytec.de>
Reviewed-by: Mattijs Korpershoek <mkorpershoek at baylibre.com>
> ---
> configs/phycore_am62x_a53_defconfig | 4 ++++
> 1 file changed, 4 insertions(+)
>
> diff --git a/configs/phycore_am62x_a53_defconfig b/configs/phycore_am62x_a53_defconfig
> index c1a46bc40a9..3622e1a7cf2 100644
> --- a/configs/phycore_am62x_a53_defconfig
> +++ b/configs/phycore_am62x_a53_defconfig
> @@ -3,6 +3,7 @@ CONFIG_ARM_SMCCC=y
> CONFIG_ARCH_K3=y
> CONFIG_SYS_MALLOC_LEN=0x2000000
> CONFIG_SYS_MALLOC_F_LEN=0x8000
> +CONFIG_SPL_GPIO=y
> CONFIG_SPL_LIBCOMMON_SUPPORT=y
> CONFIG_SPL_LIBGENERIC_SUPPORT=y
> CONFIG_SOC_K3_AM625=y
> @@ -14,6 +15,7 @@ CONFIG_SF_DEFAULT_SPEED=25000000
> CONFIG_ENV_SIZE=0x20000
> CONFIG_ENV_OFFSET=0x680000
> CONFIG_ENV_SECT_SIZE=0x20000
> +CONFIG_DM_GPIO=y
> CONFIG_SPL_DM_SPI=y
> CONFIG_DEFAULT_DEVICE_TREE="ti/k3-am625-phyboard-lyra-rdk"
> CONFIG_OF_LIBFDT_OVERLAY=y
> @@ -73,6 +75,7 @@ CONFIG_SPL_YMODEM_SUPPORT=y
> CONFIG_CMD_BOOTEFI_SELFTEST=y
> CONFIG_CMD_NVEDIT_EFI=y
> CONFIG_CMD_DFU=y
> +CONFIG_CMD_GPIO=y
> CONFIG_CMD_I2C=y
> CONFIG_CMD_MMC=y
> CONFIG_CMD_MTD=y
> @@ -112,6 +115,7 @@ CONFIG_SYS_DFU_MAX_FILE_SIZE=0x800000
> CONFIG_DMA_CHANNELS=y
> CONFIG_TI_K3_NAVSS_UDMA=y
> CONFIG_TI_SCI_PROTOCOL=y
> +CONFIG_DA8XX_GPIO=y
> CONFIG_DM_I2C=y
> CONFIG_SYS_I2C_OMAP24XX=y
> CONFIG_DM_MAILBOX=y
> --
> 2.25.1
More information about the U-Boot
mailing list