From 8e3d94f7715c5465fb5c120e0681bb6b2cd635ad Mon Sep 17 00:00:00 2001 From: Maksim Kiselev Date: Fri, 20 Sep 2024 12:05:24 +0300 Subject: [PATCH] configs: th1520_lpi4a: Enable CMD_GPIO, DM_GPIO and DWAPB_GPIO driver Enable GPIO command and DWAPB_GPIO driver for LicheePi4A board. Signed-off-by: Maksim Kiselev Reviewed-by: Leo Yu-Chi Liang --- configs/th1520_lpi4a_defconfig | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/configs/th1520_lpi4a_defconfig b/configs/th1520_lpi4a_defconfig index a57cedbfd1..3b6ff62ee1 100644 --- a/configs/th1520_lpi4a_defconfig +++ b/configs/th1520_lpi4a_defconfig @@ -4,6 +4,7 @@ CONFIG_SYS_MALLOC_F_LEN=0x3000 CONFIG_NR_DRAM_BANKS=1 CONFIG_HAS_CUSTOM_SYS_INIT_SP_ADDR=y CONFIG_CUSTOM_SYS_INIT_SP_ADDR=0x80200000 +CONFIG_DM_GPIO=y CONFIG_DEFAULT_DEVICE_TREE="th1520-lichee-pi-4a" CONFIG_SYS_BOOTM_LEN=0x4000000 CONFIG_SYS_LOAD_ADDR=0x80200000 @@ -50,6 +51,7 @@ CONFIG_CMD_BOOTMENU=y # CONFIG_CMD_LZMADEC is not set # CONFIG_CMD_UNLZ4 is not set # CONFIG_CMD_UNZIP is not set +CONFIG_CMD_GPIO=y # CONFIG_CMD_LOADB is not set # CONFIG_CMD_LOADS is not set # CONFIG_CMD_ITEST is not set @@ -61,7 +63,7 @@ CONFIG_SYS_RELOC_GD_ENV_ADDR=y CONFIG_VERSION_VARIABLE=y CONFIG_NO_NET=y # CONFIG_BLOCK_CACHE is not set -# CONFIG_GPIO is not set +CONFIG_DWAPB_GPIO=y # CONFIG_I2C is not set # CONFIG_INPUT is not set # CONFIG_DM_MMC is not set -- 2.39.5