1 /*****************************************************************************
3 * BF-533/2/1 Specific Declarations
5 ****************************************************************************/
7 * File: include/asm-blackfin/mach-bf533/dma.h
18 * Bugs: Enter bugs at http://blackfin.uclinux.org/
20 * This program is free software; you can redistribute it and/or modify
21 * it under the terms of the GNU General Public License as published by
22 * the Free Software Foundation; either version 2, or (at your option)
25 * This program is distributed in the hope that it will be useful,
26 * but WITHOUT ANY WARRANTY; without even the implied warranty of
27 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
28 * GNU General Public License for more details.
30 * You should have received a copy of the GNU General Public License
31 * along with this program; see the file COPYING.
32 * If not, write to the Free Software Foundation,
33 * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
39 #define MAX_BLACKFIN_DMA_CHANNEL 12
42 #define CH_SPORT0_RX 1
43 #define CH_SPORT0_TX 2
44 #define CH_SPORT1_RX 3
45 #define CH_SPORT1_TX 4
49 #define CH_MEM_STREAM0_DEST 8 /* TX */
50 #define CH_MEM_STREAM0_SRC 9 /* RX */
51 #define CH_MEM_STREAM1_DEST 10 /* TX */
52 #define CH_MEM_STREAM1_SRC 11 /* RX */
54 extern int channel2irq(unsigned int channel
);
55 extern struct dma_register
*base_addr
[];