ARM: 5622/1: at91: at91sam9g45 headers: DMA peripheral identifiers
authorNicolas Ferre <nicolas.ferre@atmel.com>
Fri, 24 Jul 2009 11:16:57 +0000 (12:16 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Sat, 25 Jul 2009 16:10:10 +0000 (17:10 +0100)
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>
arch/arm/mach-at91/include/mach/at91sam9g45.h

index 2c42cf5f0c5493b18637c2e777f5afd9043b0d0b..a526869aee377a198d439d639091b3856f705f50 100644 (file)
 
 #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