summaryrefslogtreecommitdiff
path: root/arch/m68k
diff options
context:
space:
mode:
authorsfking@fdwdc.com <sfking@fdwdc.com>2009-06-20 01:11:11 (GMT)
committerGreg Ungerer <gerg@uclinux.org>2009-09-10 02:01:24 (GMT)
commitdca7cf33bb5c98187ffcc849652b1b2c4c8a0c25 (patch)
treed91d87cbf054a8f02da1cfa3cfb27ab2b14dc52a /arch/m68k
parent7846fe800a81adae1e28d9d035b5226f75358280 (diff)
downloadlinux-dca7cf33bb5c98187ffcc849652b1b2c4c8a0c25.tar.xz
generic GPIO support for the Freescale Coldfire 5407.
Add support for the 5407. Signed-off-by: Steven King <sfking@fdwdc.com> Signed-off-by: Greg Ungerer <gerg@uclinux.org>
Diffstat (limited to 'arch/m68k')
-rw-r--r--arch/m68k/include/asm/m5407sim.h10
1 files changed, 8 insertions, 2 deletions
diff --git a/arch/m68k/include/asm/m5407sim.h b/arch/m68k/include/asm/m5407sim.h
index cc22c4a..2519475 100644
--- a/arch/m68k/include/asm/m5407sim.h
+++ b/arch/m68k/include/asm/m5407sim.h
@@ -73,9 +73,15 @@
#define MCFSIM_DACR1 0x110 /* DRAM 1 Addr and Ctrl (r/w) */
#define MCFSIM_DMR1 0x114 /* DRAM 1 Mask reg (r/w) */
-#define MCFSIM_PADDR 0x244 /* Parallel Direction (r/w) */
-#define MCFSIM_PADAT 0x248 /* Parallel Data (r/w) */
+#define MCFSIM_PADDR (MCF_MBAR + 0x244)
+#define MCFSIM_PADAT (MCF_MBAR + 0x248)
+/*
+ * Generic GPIO support
+ */
+#define MCFGPIO_PIN_MAX 16
+#define MCFGPIO_IRQ_MAX -1
+#define MCFGPIO_IRQ_VECBASE -1
/*
* Some symbol defines for the above...