diff options
author | Rabin Vincent <rabin.vincent@stericsson.com> | 2010-03-03 04:54:37 +0100 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2010-03-19 18:29:45 +0000 |
commit | 94bdc0e2d76c5f2467346bf14e7e16d6d8e0395d (patch) | |
tree | 00f98df7579a1fb53766a34d5ee3339b68908776 /arch/arm/mach-ux500/include/mach/gpio.h | |
parent | 1df20afce51e7af2a587425d1aafca2608fe0066 (diff) | |
download | talos-obmc-linux-94bdc0e2d76c5f2467346bf14e7e16d6d8e0395d.tar.gz talos-obmc-linux-94bdc0e2d76c5f2467346bf14e7e16d6d8e0395d.zip |
ARM: 5973/1: ux500: add gpio support
Add support for the GPIOs on the U8500, using the plat-nomadik GPIO
driver.
Acked-by: Linus Walleij <linus.walleij@stericsson.com>
Acked-by: Srinidhi Kasagar <srinidhi.kasagar@stericsson.com>
Signed-off-by: Rabin Vincent <rabin.vincent@stericsson.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/mach-ux500/include/mach/gpio.h')
-rw-r--r-- | arch/arm/mach-ux500/include/mach/gpio.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/arch/arm/mach-ux500/include/mach/gpio.h b/arch/arm/mach-ux500/include/mach/gpio.h new file mode 100644 index 000000000000..3c4cd31ad9f7 --- /dev/null +++ b/arch/arm/mach-ux500/include/mach/gpio.h @@ -0,0 +1,12 @@ +#ifndef __ASM_ARCH_GPIO_H +#define __ASM_ARCH_GPIO_H + +/* + * 288 (#267 is the highest one actually hooked up) onchip GPIOs, plus enough + * room for a couple of GPIO expanders. + */ +#define ARCH_NR_GPIOS 350 + +#include <plat/gpio.h> + +#endif /* __ASM_ARCH_GPIO_H */ |