* [RFC 10/14] Coldfire generic GPIO (m68knommu)
@ 2009-03-11 21:56 Steven King
0 siblings, 0 replies; only message in thread
From: Steven King @ 2009-03-11 21:56 UTC (permalink / raw)
To: uClinux development list; +Cc: linux-kernel, Greg Ungerer
Signed-off-by: Steven King <sfking@fdwdc.com>
diff --git a/arch/m68k/include/asm/m5307sim.h b/arch/m68k/include/asm/m5307sim.h
index 5886728..6a1870c 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 */
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2009-03-11 22:01 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-03-11 21:56 [RFC 10/14] Coldfire generic GPIO (m68knommu) Steven King
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox