]> Pileus Git - ~andy/linux/blobdiff - arch/m68k/include/asm/m5206sim.h
generic GPIO support for the Freescale Coldfire 5206.
[~andy/linux] / arch / m68k / include / asm / m5206sim.h
index 7e3594dea88b01af1c792e24dfb4922d5b540468..7be8a2d3e659224194dd5ff5f3600abeb1298130 100644 (file)
 #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
  */