From: Nicolas Ferre Date: Fri, 24 Jul 2009 11:16:57 +0000 (+0100) Subject: ARM: 5622/1: at91: at91sam9g45 headers: DMA peripheral identifiers X-Git-Tag: v2.6.32-rc1~691^2~2^2~6 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=4c8abb556b393b3ed73d72481ba27705294f6dc6;p=karo-tx-linux.git 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 Acked-by: Andrew Victor Signed-off-by: Russell King --- 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 @@ #define CONSISTENT_DMA_SIZE SZ_4M +/* + * DMA peripheral identifiers + * for hardware handshaking interface + */ +#define AT_DMA_ID_MCI0 0 +#define AT_DMA_ID_SPI0_TX 1 +#define AT_DMA_ID_SPI0_RX 2 +#define AT_DMA_ID_SPI1_TX 3 +#define AT_DMA_ID_SPI1_RX 4 +#define AT_DMA_ID_SSC0_TX 5 +#define AT_DMA_ID_SSC0_RX 6 +#define AT_DMA_ID_SSC1_TX 7 +#define AT_DMA_ID_SSC1_RX 8 +#define AT_DMA_ID_AC97_TX 9 +#define AT_DMA_ID_AC97_RX 10 +#define AT_DMA_ID_MCI1 13 + #endif