diff options
author | sfking@fdwdc.com <sfking@fdwdc.com> | 2009-06-19 21:11:11 -0400 |
---|---|---|
committer | Greg Ungerer <gerg@uclinux.org> | 2009-09-09 22:01:24 -0400 |
commit | dca7cf33bb5c98187ffcc849652b1b2c4c8a0c25 (patch) | |
tree | d91d87cbf054a8f02da1cfa3cfb27ab2b14dc52a /arch/m68k | |
parent | 7846fe800a81adae1e28d9d035b5226f75358280 (diff) |
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.h | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/arch/m68k/include/asm/m5407sim.h b/arch/m68k/include/asm/m5407sim.h index cc22c4a53005..25194756b432 100644 --- a/arch/m68k/include/asm/m5407sim.h +++ b/arch/m68k/include/asm/m5407sim.h | |||
@@ -73,9 +73,15 @@ | |||
73 | #define MCFSIM_DACR1 0x110 /* DRAM 1 Addr and Ctrl (r/w) */ | 73 | #define MCFSIM_DACR1 0x110 /* DRAM 1 Addr and Ctrl (r/w) */ |
74 | #define MCFSIM_DMR1 0x114 /* DRAM 1 Mask reg (r/w) */ | 74 | #define MCFSIM_DMR1 0x114 /* DRAM 1 Mask reg (r/w) */ |
75 | 75 | ||
76 | #define MCFSIM_PADDR 0x244 /* Parallel Direction (r/w) */ | 76 | #define MCFSIM_PADDR (MCF_MBAR + 0x244) |
77 | #define MCFSIM_PADAT 0x248 /* Parallel Data (r/w) */ | 77 | #define MCFSIM_PADAT (MCF_MBAR + 0x248) |
78 | 78 | ||
79 | /* | ||
80 | * Generic GPIO support | ||
81 | */ | ||
82 | #define MCFGPIO_PIN_MAX 16 | ||
83 | #define MCFGPIO_IRQ_MAX -1 | ||
84 | #define MCFGPIO_IRQ_VECBASE -1 | ||
79 | 85 | ||
80 | /* | 86 | /* |
81 | * Some symbol defines for the above... | 87 | * Some symbol defines for the above... |