2008-11-18 17:48:22 +08:00
|
|
|
/*
|
|
|
|
* file: include/asm-blackfin/mach-bf538/dma.h
|
|
|
|
* based on:
|
|
|
|
* author:
|
|
|
|
*
|
|
|
|
* created:
|
|
|
|
* description:
|
|
|
|
* system mmr register map
|
|
|
|
* rev:
|
|
|
|
*
|
|
|
|
* modified:
|
|
|
|
*
|
|
|
|
*
|
|
|
|
* bugs: enter bugs at http://blackfin.uclinux.org/
|
|
|
|
*
|
|
|
|
* this program is free software; you can redistribute it and/or modify
|
|
|
|
* it under the terms of the gnu general public license as published by
|
|
|
|
* the free software foundation; either version 2, or (at your option)
|
|
|
|
* any later version.
|
|
|
|
*
|
|
|
|
* this program is distributed in the hope that it will be useful,
|
|
|
|
* but without any warranty; without even the implied warranty of
|
|
|
|
* merchantability or fitness for a particular purpose. see the
|
|
|
|
* gnu general public license for more details.
|
|
|
|
*
|
|
|
|
* you should have received a copy of the gnu general public license
|
|
|
|
* along with this program; see the file copying.
|
|
|
|
* if not, write to the free software foundation,
|
|
|
|
* 59 temple place - suite 330, boston, ma 02111-1307, usa.
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef _MACH_DMA_H_
|
|
|
|
#define _MACH_DMA_H_
|
|
|
|
|
|
|
|
#define CH_PPI 0
|
|
|
|
#define CH_SPORT0_RX 1
|
|
|
|
#define CH_SPORT0_TX 2
|
|
|
|
#define CH_SPORT1_RX 3
|
|
|
|
#define CH_SPORT1_TX 4
|
|
|
|
#define CH_SPI0 5
|
|
|
|
#define CH_UART0_RX 6
|
|
|
|
#define CH_UART0_TX 7
|
|
|
|
#define CH_SPORT2_RX 8
|
|
|
|
#define CH_SPORT2_TX 9
|
|
|
|
#define CH_SPORT3_RX 10
|
|
|
|
#define CH_SPORT3_TX 11
|
|
|
|
#define CH_SPI1 14
|
|
|
|
#define CH_SPI2 15
|
|
|
|
#define CH_UART1_RX 16
|
|
|
|
#define CH_UART1_TX 17
|
|
|
|
#define CH_UART2_RX 18
|
|
|
|
#define CH_UART2_TX 19
|
|
|
|
|
|
|
|
#define CH_MEM_STREAM0_DEST 20
|
|
|
|
#define CH_MEM_STREAM0_SRC 21
|
|
|
|
#define CH_MEM_STREAM1_DEST 22
|
|
|
|
#define CH_MEM_STREAM1_SRC 23
|
|
|
|
#define CH_MEM_STREAM2_DEST 24
|
|
|
|
#define CH_MEM_STREAM2_SRC 25
|
|
|
|
#define CH_MEM_STREAM3_DEST 26
|
|
|
|
#define CH_MEM_STREAM3_SRC 27
|
|
|
|
|
2009-01-07 23:14:39 +08:00
|
|
|
#define MAX_DMA_CHANNELS 28
|
2008-11-18 17:48:22 +08:00
|
|
|
|
|
|
|
#endif
|