summaryrefslogtreecommitdiff
path: root/configs
diff options
context:
space:
mode:
authorQuentin Schulz <quentin.schulz@cherry.de>2024-06-14 13:04:56 +0200
committerKever Yang <kever.yang@rock-chips.com>2024-07-17 11:54:23 +0800
commit812e2652264337dc45e6533c4d9a761db22ec4fd (patch)
treeae0ae8315316afaa7d2cbfad5afbf5de37f37592 /configs
parentb8790017eb6a5cf2b46090ebdfebaa58619add0c (diff)
downloadu-boot-812e2652264337dc45e6533c4d9a761db22ec4fd.tar.gz
u-boot-812e2652264337dc45e6533c4d9a761db22ec4fd.tar.bz2
u-boot-812e2652264337dc45e6533c4d9a761db22ec4fd.zip
rockchip: puma-rk3399: add button support
The Haikou Devkit exposes 4 buttons over GPIO so let's enable their support so their status can be queried from the `button` command from the CLI. Signed-off-by: Quentin Schulz <quentin.schulz@cherry.de> Reviewed-by: Kever Yang <kever.yang@rock-chips.com>
Diffstat (limited to 'configs')
-rw-r--r--configs/puma-rk3399_defconfig2
1 files changed, 2 insertions, 0 deletions
diff --git a/configs/puma-rk3399_defconfig b/configs/puma-rk3399_defconfig
index 5319239f98..bc9a79107e 100644
--- a/configs/puma-rk3399_defconfig
+++ b/configs/puma-rk3399_defconfig
@@ -56,6 +56,8 @@ CONFIG_ENV_SPI_MAX_HZ=50000000
CONFIG_SYS_RELOC_GD_ENV_ADDR=y
CONFIG_SYS_MMC_ENV_DEV=1
CONFIG_ENV_VARS_UBOOT_RUNTIME_CONFIG=y
+CONFIG_BUTTON=y
+CONFIG_BUTTON_GPIO=y
CONFIG_GPIO_HOG=y
CONFIG_SPL_GPIO_HOG=y
CONFIG_ROCKCHIP_GPIO=y