summaryrefslogtreecommitdiffstats
path: root/arch/m68k/include/asm
diff options
context:
space:
mode:
authorsfking@fdwdc.com <sfking@fdwdc.com>2009-06-19 18:11:09 -0700
committerGreg Ungerer <gerg@uclinux.org>2009-09-10 12:01:23 +1000
commitf7a20ba06435d067247bd50a15a1d550b9b3fc7d (patch)
tree5b92e1f95b6052ffaac959750d6b8d3c520e33be /arch/m68k/include/asm
parent6da6e63c96f5fc8a92b6d1d6f12c2bf998588ffe (diff)
downloadblackbird-op-linux-f7a20ba06435d067247bd50a15a1d550b9b3fc7d.tar.gz
blackbird-op-linux-f7a20ba06435d067247bd50a15a1d550b9b3fc7d.zip
generic GPIO support for the Freescale Coldfire 5307.
Add support for the 5307. Signed-off-by: Steven King <sfking@fdwdc.com> Signed-off-by: Greg Ungerer <gerg@uclinux.org>
Diffstat (limited to 'arch/m68k/include/asm')
-rw-r--r--arch/m68k/include/asm/m5307sim.h11
1 files changed, 9 insertions, 2 deletions
diff --git a/arch/m68k/include/asm/m5307sim.h b/arch/m68k/include/asm/m5307sim.h
index 5886728409c0..6a1870c925a6 100644
--- a/arch/m68k/include/asm/m5307sim.h
+++ b/arch/m68k/include/asm/m5307sim.h
@@ -90,8 +90,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
/* Definition offset address for CS2-7 -- old mask 5307 */
OpenPOWER on IntegriCloud