* [RFC 03/14] Coldfire generic GPIO (m68knommu)
@ 2009-03-11 21:55 Steven King
0 siblings, 0 replies; only message in thread
From: Steven King @ 2009-03-11 21:55 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/m5206sim.h b/arch/m68k/include/asm/m5206sim.h
index 7e3594d..7be8a2d 100644
--- a/arch/m68k/include/asm/m5206sim.h
+++ b/arch/m68k/include/asm/m5206sim.h
@@ -85,10 +85,16 @@
#define MCFSIM_PAR 0xcb /* Pin Assignment reg (r/w) */
#endif
-#define MCFSIM_PADDR 0x1c5 /* Parallel Direction (r/w) */
-#define MCFSIM_PADAT 0x1c9 /* Parallel Port Value (r/w) */
+#define MCFSIM_PADDR (MCF_MBAR + 0x1c5) /* Parallel Direction (r/w) */
+#define MCFSIM_PADAT (MCF_MBAR + 0x1c9) /* Parallel Port Value (r/w) */
/*
+ * Generic GPIO
+ */
+#define MCFGPIO_PIN_MAX 8
+#define MCFGPIO_IRQ_VECBASE -1
+#define MCFGPIO_IRQ_MAX -1
+/*
* Some symbol defines for the Parallel Port Pin Assignment Register
*/
#ifdef CONFIG_M5206e
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2009-03-11 21:58 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:55 [RFC 03/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