1/* 2 * 3 * arch/arm/mach-u300/include/mach/dma_channels.h 4 * 5 * 6 * Copyright (C) 2007-2009 ST-Ericsson 7 * License terms: GNU General Public License (GPL) version 2 8 * Map file for the U300 dma driver. 9 * Author: Per Friden <per.friden@stericsson.com> 10 */ 11 12#ifndef DMA_CHANNELS_H 13#define DMA_CHANNELS_H 14 15#define U300_DMA_MSL_TX_0 0 16#define U300_DMA_MSL_TX_1 1 17#define U300_DMA_MSL_TX_2 2 18#define U300_DMA_MSL_TX_3 3 19#define U300_DMA_MSL_TX_4 4 20#define U300_DMA_MSL_TX_5 5 21#define U300_DMA_MSL_TX_6 6 22#define U300_DMA_MSL_RX_0 7 23#define U300_DMA_MSL_RX_1 8 24#define U300_DMA_MSL_RX_2 9 25#define U300_DMA_MSL_RX_3 10 26#define U300_DMA_MSL_RX_4 11 27#define U300_DMA_MSL_RX_5 12 28#define U300_DMA_MSL_RX_6 13 29#define U300_DMA_MMCSD_RX_TX 14 30#define U300_DMA_MSPRO_TX 15 31#define U300_DMA_MSPRO_RX 16 32#define U300_DMA_UART0_TX 17 33#define U300_DMA_UART0_RX 18 34#define U300_DMA_APEX_TX 19 35#define U300_DMA_APEX_RX 20 36#define U300_DMA_PCM_I2S0_TX 21 37#define U300_DMA_PCM_I2S0_RX 22 38#define U300_DMA_PCM_I2S1_TX 23 39#define U300_DMA_PCM_I2S1_RX 24 40#define U300_DMA_XGAM_CDI 25 41#define U300_DMA_XGAM_PDI 26 42#define U300_DMA_SPI_TX 27 43#define U300_DMA_SPI_RX 28 44#define U300_DMA_GENERAL_PURPOSE_0 29 45#define U300_DMA_GENERAL_PURPOSE_1 30 46#define U300_DMA_GENERAL_PURPOSE_2 31 47#define U300_DMA_GENERAL_PURPOSE_3 32 48#define U300_DMA_GENERAL_PURPOSE_4 33 49#define U300_DMA_GENERAL_PURPOSE_5 34 50#define U300_DMA_GENERAL_PURPOSE_6 35 51#define U300_DMA_GENERAL_PURPOSE_7 36 52#define U300_DMA_GENERAL_PURPOSE_8 37 53#ifdef CONFIG_MACH_U300_BS335 54#define U300_DMA_UART1_TX 38 55#define U300_DMA_UART1_RX 39 56#else 57#define U300_DMA_GENERAL_PURPOSE_9 38 58#define U300_DMA_GENERAL_PURPOSE_10 39 59#endif 60 61#ifdef CONFIG_MACH_U300_BS335 62#define U300_DMA_DEVICE_CHANNELS 32 63#else 64#define U300_DMA_DEVICE_CHANNELS 30 65#endif 66#define U300_DMA_CHANNELS 40 67 68 69#endif /* DMA_CHANNELS_H */ 70