diff options
author | sfking@fdwdc.com <sfking@fdwdc.com> | 2009-06-19 21:11:01 -0400 |
---|---|---|
committer | Greg Ungerer <gerg@uclinux.org> | 2009-09-09 22:01:22 -0400 |
commit | bc25b057fa0a0e4754b7e2524c509874649d11ae (patch) | |
tree | 40770e923309ff514def91e8e9adcd6d71c4f81b /arch/m68k/include | |
parent | af39bb8b07af83b579c90c09ba3943123cdb4132 (diff) |
generic GPIO support for the Freescale Coldfire 5206.
Add support for the 5206.
Signed-off-by: Steven King <sfking@fdwdc.com>
Signed-off-by: Greg Ungerer <gerg@uclinux.org>
Diffstat (limited to 'arch/m68k/include')
-rw-r--r-- | arch/m68k/include/asm/m5206sim.h | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/arch/m68k/include/asm/m5206sim.h b/arch/m68k/include/asm/m5206sim.h index 7e3594dea88b..7be8a2d3e659 100644 --- a/arch/m68k/include/asm/m5206sim.h +++ b/arch/m68k/include/asm/m5206sim.h | |||
@@ -85,10 +85,16 @@ | |||
85 | #define MCFSIM_PAR 0xcb /* Pin Assignment reg (r/w) */ | 85 | #define MCFSIM_PAR 0xcb /* Pin Assignment reg (r/w) */ |
86 | #endif | 86 | #endif |
87 | 87 | ||
88 | #define MCFSIM_PADDR 0x1c5 /* Parallel Direction (r/w) */ | 88 | #define MCFSIM_PADDR (MCF_MBAR + 0x1c5) /* Parallel Direction (r/w) */ |
89 | #define MCFSIM_PADAT 0x1c9 /* Parallel Port Value (r/w) */ | 89 | #define MCFSIM_PADAT (MCF_MBAR + 0x1c9) /* Parallel Port Value (r/w) */ |
90 | 90 | ||
91 | /* | 91 | /* |
92 | * Generic GPIO | ||
93 | */ | ||
94 | #define MCFGPIO_PIN_MAX 8 | ||
95 | #define MCFGPIO_IRQ_VECBASE -1 | ||
96 | #define MCFGPIO_IRQ_MAX -1 | ||
97 | /* | ||
92 | * Some symbol defines for the Parallel Port Pin Assignment Register | 98 | * Some symbol defines for the Parallel Port Pin Assignment Register |
93 | */ | 99 | */ |
94 | #ifdef CONFIG_M5206e | 100 | #ifdef CONFIG_M5206e |