diff options
| author | Nikita Kiryanov <[email protected]> | 2015-07-30 23:56:22 +0300 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2015-08-12 20:48:04 -0400 |
| commit | 4eaf126e0634d9797c00ed2650e2d1396a4a69a2 (patch) | |
| tree | d453e665b1e19a8289a4825a678604c8d99c0b9b | |
| parent | 9fbdca6056ef5f5697d4f27a1f4138223d35fc20 (diff) | |
gpio: am43xx: expand gpio support
AM43XX SoCs support up to 192 GPIO signals.
Make this amount available to the driver.
Cc: Albert Aribaud <[email protected]>
Cc: Igor Grinberg <[email protected]>
Signed-off-by: Nikita Kiryanov <[email protected]>
| -rw-r--r-- | arch/arm/include/asm/arch-am33xx/gpio.h | 4 |
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 220603db5a3..89ab0553857 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 |
