summaryrefslogtreecommitdiffstats
path: root/include/asm-arm/arch-omap
diff options
context:
space:
mode:
authorSyed Mohammed, Khasim <x0khasim@ti.com>2007-11-29 16:15:11 -0800
committerTony Lindgren <tony@atomide.com>2008-02-08 10:37:59 -0800
commit5492fb1a46ada0d1e89eb580c2a56db8924e3141 (patch)
tree1745a2ce7fdaff1c676c27ab94e41c4804f0433f /include/asm-arm/arch-omap
parent2c17f61599987ca7c54c2fef57de3bb8c32e3599 (diff)
ARM: OMAP: Add 3430 gpio support
This patch adds 3430 gpio support. It also contains a fix by Paul Walmsley <paul@pwsan.com> to use the correct clock names for OMAP3430. Signed-off-by: Syed Mohammed Khasim <x0khasim@ti.com> Signed-off-by: Paul Walmsley <paul@pwsan.com> Signed-off-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'include/asm-arm/arch-omap')
-rw-r--r--include/asm-arm/arch-omap/gpio.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/asm-arm/arch-omap/gpio.h b/include/asm-arm/arch-omap/gpio.h
index 97b397dd7e8..c782ef9a2ac 100644
--- a/include/asm-arm/arch-omap/gpio.h
+++ b/include/asm-arm/arch-omap/gpio.h
@@ -62,6 +62,8 @@
#define OMAP_MPUIO_LATCH 0x34
#endif
+#define OMAP34XX_NR_GPIOS 6
+
#define OMAP_MPUIO(nr) (OMAP_MAX_GPIO_LINES + (nr))
#define OMAP_GPIO_IS_MPUIO(nr) ((nr) >= OMAP_MAX_GPIO_LINES)