summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorNikita Kiryanov <nikita@compulab.co.il>2015-07-30 20:56:22 (GMT)
committerTom Rini <trini@konsulko.com>2015-08-13 00:48:04 (GMT)
commit4eaf126e0634d9797c00ed2650e2d1396a4a69a2 (patch)
treed453e665b1e19a8289a4825a678604c8d99c0b9b /arch
parent9fbdca6056ef5f5697d4f27a1f4138223d35fc20 (diff)
downloadu-boot-4eaf126e0634d9797c00ed2650e2d1396a4a69a2.tar.xz
gpio: am43xx: expand gpio support
AM43XX SoCs support up to 192 GPIO signals. Make this amount available to the driver. Cc: Albert Aribaud <albert.u.boot@aribaud.net> Cc: Igor Grinberg <grinberg@compulab.co.il> Signed-off-by: Nikita Kiryanov <nikita@compulab.co.il>
Diffstat (limited to 'arch')
-rw-r--r--arch/arm/include/asm/arch-am33xx/gpio.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/arm/include/asm/arch-am33xx/gpio.h b/arch/arm/include/asm/arch-am33xx/gpio.h
index 220603d..89ab055 100644
--- a/arch/arm/include/asm/arch-am33xx/gpio.h
+++ b/arch/arm/include/asm/arch-am33xx/gpio.h
@@ -6,7 +6,11 @@
#include <asm/omap_gpio.h>
+#ifdef CONFIG_AM43XX
+#define OMAP_MAX_GPIO 192
+#else
#define OMAP_MAX_GPIO 128
+#endif
#define AM33XX_GPIO0_BASE 0x44E07000
#define AM33XX_GPIO1_BASE 0x4804C000