diff options
Diffstat (limited to 'kernel/arch/blackfin/mach-bf537/include/mach/dma.h')
-rw-r--r-- | kernel/arch/blackfin/mach-bf537/include/mach/dma.h | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/kernel/arch/blackfin/mach-bf537/include/mach/dma.h b/kernel/arch/blackfin/mach-bf537/include/mach/dma.h new file mode 100644 index 000000000..5ae83b118 --- /dev/null +++ b/kernel/arch/blackfin/mach-bf537/include/mach/dma.h @@ -0,0 +1,31 @@ +/* mach/dma.h - arch-specific DMA defines + * + * Copyright 2004-2008 Analog Devices Inc. + * + * Licensed under the GPL-2 or later. + */ + +#ifndef _MACH_DMA_H_ +#define _MACH_DMA_H_ + +#define MAX_DMA_CHANNELS 16 + +#define CH_PPI 0 +#define CH_EMAC_RX 1 +#define CH_EMAC_TX 2 +#define CH_SPORT0_RX 3 +#define CH_SPORT0_TX 4 +#define CH_SPORT1_RX 5 +#define CH_SPORT1_TX 6 +#define CH_SPI 7 +#define CH_UART0_RX 8 +#define CH_UART0_TX 9 +#define CH_UART1_RX 10 +#define CH_UART1_TX 11 + +#define CH_MEM_STREAM0_DEST 12 /* TX */ +#define CH_MEM_STREAM0_SRC 13 /* RX */ +#define CH_MEM_STREAM1_DEST 14 /* TX */ +#define CH_MEM_STREAM1_SRC 15 /* RX */ + +#endif |