forked from Minki/linux
24a07a1241
The ADSP-BF54x was specifically designed to meet the needs of convergent multimedia applications where system performance and cost are essential ingredients. The integration of multimedia, human interface, and connectivity peripherals combined with increased system bandwidth and on-chip memory provides customers a platform to design the most demanding applications. Since now, ADSP-BF54x will be supported in the Linux kernel and bunch of related drivers such as USB OTG, ATAPI, NAND flash controller, LCD framebuffer, sound, touch screen will be submitted later. Please enjoy the show. Signed-off-by: Roy Huang <roy.huang@analog.com> Signed-off-by: Bryan Wu <bryan.wu@analog.com>
59 lines
1.6 KiB
C
59 lines
1.6 KiB
C
/*
|
|
* file: include/asm-blackfin/mach-bf537/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 MAX_BLACKFIN_DMA_CHANNEL 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 */
|
|
|
|
extern int channel2irq(unsigned int channel);
|
|
extern struct dma_register *base_addr[];
|
|
|
|
#endif
|