summaryrefslogtreecommitdiffstats
path: root/arch/arm/Kconfig
diff options
context:
space:
mode:
authorMarek Vasut <marex@denx.de>2017-05-09 08:20:03 -0500
committerDinh Nguyen <dinguyen@kernel.org>2017-06-21 10:16:02 -0500
commit139358be24e526bc8d050e319cdd4e2d1941503e (patch)
tree1bdc73c320673106cdb6af55ffe182611abe89f2 /arch/arm/Kconfig
parent2ea659a9ef488125eb46da6eb571de5eae5c43f6 (diff)
downloadlinux-139358be24e526bc8d050e319cdd4e2d1941503e.tar.bz2
ARM: socfpga: Increase max number of GPIOs
Increase the maximum number of GPIOs on SoCFPGA as this platform can have many GPIO controllers in the FPGA part. Signed-off-by: Marek Vasut <marex@denx.de> Signed-off-by: Dinh Nguyen <dinguyen@kernel.org>
Diffstat (limited to 'arch/arm/Kconfig')
-rw-r--r--arch/arm/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig
index 4c1a35f15838..108c203a8b29 100644
--- a/arch/arm/Kconfig
+++ b/arch/arm/Kconfig
@@ -1460,6 +1460,7 @@ config ARM_PSCI
# selected platforms.
config ARCH_NR_GPIO
int
+ default 2048 if ARCH_SOCFPGA
default 1024 if ARCH_BRCMSTB || ARCH_SHMOBILE || ARCH_TEGRA || \
ARCH_ZYNQ
default 512 if ARCH_EXYNOS || ARCH_KEYSTONE || SOC_OMAP5 || \