Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e590b91e authored by Maxime Ripard's avatar Maxime Ripard Committed by Linus Walleij
Browse files

ARM: sunxi: Increase the number of GPIOs available



The Allwinner A10 has 9 banks of 32 GPIOs available, so it doesn't fit
in the usual 256 limit set by gpio.h. Increase this number to 288.

Acked-by: default avatarArnd Bergmann <arnd@arndb.de>
Signed-off-by: default avatarMaxime Ripard <maxime.ripard@free-electrons.com>
Signed-off-by: default avatarLinus Walleij <linus.walleij@linaro.org>
parent 08e9e614
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1637,7 +1637,7 @@ config ARCH_NR_GPIO
	default 355 if ARCH_U8500
	default 264 if MACH_H4700
	default 512 if SOC_OMAP5
	default 288 if ARCH_VT8500
	default 288 if ARCH_VT8500 || ARCH_SUNXI
	default 0
	help
	  Maximum number of GPIOs in the system.