summaryrefslogtreecommitdiff
path: root/arch/arm
diff options
context:
space:
mode:
authorBellido Nicolas <ml@acolin.be>2005-10-28 16:51:40 +0100
committerRussell King <rmk+kernel@arm.linux.org.uk>2005-10-28 16:51:40 +0100
commit4028ef4cc1fea245906a2dbd4df1ac9f0353ef5f (patch)
tree03d87c15a85caaf918e40abc8ab0245a37b362ad /arch/arm
parent13b1d677d2c872e2d05ef6241b499b6e1f6f91ba (diff)
downloadlinux-3.10-4028ef4cc1fea245906a2dbd4df1ac9f0353ef5f.tar.gz
linux-3.10-4028ef4cc1fea245906a2dbd4df1ac9f0353ef5f.tar.bz2
linux-3.10-4028ef4cc1fea245906a2dbd4df1ac9f0353ef5f.zip
[ARM] 3037/1: AAED-2000 - Add defines for GPIO registers on external port.
Patch from Bellido Nicolas The AAED-2000 board has GPIO pins on an external port. This patch adds the defines, and do the necessary mapping. Signed-off-by: Nicolas Bellido <ml@acolin.be> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm')
-rw-r--r--arch/arm/mach-aaec2000/aaed2000.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/arch/arm/mach-aaec2000/aaed2000.c b/arch/arm/mach-aaec2000/aaed2000.c
index c9d89988664..7b0a1c7d64a 100644
--- a/arch/arm/mach-aaec2000/aaed2000.c
+++ b/arch/arm/mach-aaec2000/aaed2000.c
@@ -27,6 +27,8 @@
#include <asm/mach/map.h>
#include <asm/mach/irq.h>
+#include <asm/arch/aaed2000.h>
+
#include "core.h"
static void __init aaed2000_init_irq(void)
@@ -34,9 +36,14 @@ static void __init aaed2000_init_irq(void)
aaec2000_init_irq();
}
+static struct map_desc aaed2000_io_desc[] __initdata = {
+ { EXT_GPIO_VBASE, EXT_GPIO_PBASE, EXT_GPIO_LENGTH, MT_DEVICE }, /* Ext GPIO */
+};
+
static void __init aaed2000_map_io(void)
{
aaec2000_map_io();
+ iotable_init(aaed2000_io_desc, ARRAY_SIZE(aaed2000_io_desc));
}
MACHINE_START(AAED2000, "Agilent AAED-2000 Development Platform")