diff options
author | Nicolas Ferre <nicolas.ferre@atmel.com> | 2009-07-24 07:16:57 -0400 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2009-07-25 12:10:10 -0400 |
commit | 4c8abb556b393b3ed73d72481ba27705294f6dc6 (patch) | |
tree | b76ea596977819d08e5a62372fdd507e42d5d0ea /arch/arm/mach-at91/include | |
parent | 915190f7d4f08e413e5fde6b0abcd5375aeacdf4 (diff) |
ARM: 5622/1: at91: at91sam9g45 headers: DMA peripheral identifiers
It adds DMA peripheral identifiers for hardware handshaking interface. It will
be used in platform code.
Signed-off-by: Nicolas Ferre <nicolas.ferre@atmel.com>
Acked-by: Andrew Victor <linux@maxim.org.za>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/mach-at91/include')
-rw-r--r-- | arch/arm/mach-at91/include/mach/at91sam9g45.h | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/arch/arm/mach-at91/include/mach/at91sam9g45.h b/arch/arm/mach-at91/include/mach/at91sam9g45.h index 2c42cf5f0c54..a526869aee37 100644 --- a/arch/arm/mach-at91/include/mach/at91sam9g45.h +++ b/arch/arm/mach-at91/include/mach/at91sam9g45.h | |||
@@ -135,4 +135,21 @@ | |||
135 | 135 | ||
136 | #define CONSISTENT_DMA_SIZE SZ_4M | 136 | #define CONSISTENT_DMA_SIZE SZ_4M |
137 | 137 | ||
138 | /* | ||
139 | * DMA peripheral identifiers | ||
140 | * for hardware handshaking interface | ||
141 | */ | ||
142 | #define AT_DMA_ID_MCI0 0 | ||
143 | #define AT_DMA_ID_SPI0_TX 1 | ||
144 | #define AT_DMA_ID_SPI0_RX 2 | ||
145 | #define AT_DMA_ID_SPI1_TX 3 | ||
146 | #define AT_DMA_ID_SPI1_RX 4 | ||
147 | #define AT_DMA_ID_SSC0_TX 5 | ||
148 | #define AT_DMA_ID_SSC0_RX 6 | ||
149 | #define AT_DMA_ID_SSC1_TX 7 | ||
150 | #define AT_DMA_ID_SSC1_RX 8 | ||
151 | #define AT_DMA_ID_AC97_TX 9 | ||
152 | #define AT_DMA_ID_AC97_RX 10 | ||
153 | #define AT_DMA_ID_MCI1 13 | ||
154 | |||
138 | #endif | 155 | #endif |