arm64: dts: Revert "specify console via command line"
[linux/fpc-iii.git] / arch / arm / mach-davinci / asp.h
blobd0ecd1d0f08476295528bbfe9bc795d8cda60b57
1 /* SPDX-License-Identifier: GPL-2.0 */
2 /*
3 * TI DaVinci Audio definitions
4 */
5 #ifndef __ASM_ARCH_DAVINCI_ASP_H
6 #define __ASM_ARCH_DAVINCI_ASP_H
8 /* Bases of dm644x and dm355 register banks */
9 #define DAVINCI_ASP0_BASE 0x01E02000
10 #define DAVINCI_ASP1_BASE 0x01E04000
12 /* Bases of dm365 register banks */
13 #define DAVINCI_DM365_ASP0_BASE 0x01D02000
15 /* Bases of dm646x register banks */
16 #define DAVINCI_DM646X_MCASP0_REG_BASE 0x01D01000
17 #define DAVINCI_DM646X_MCASP1_REG_BASE 0x01D01800
19 /* Bases of da850/da830 McASP0 register banks */
20 #define DAVINCI_DA8XX_MCASP0_REG_BASE 0x01D00000
22 /* Bases of da830 McASP1 register banks */
23 #define DAVINCI_DA830_MCASP1_REG_BASE 0x01D04000
25 /* Bases of da830 McASP2 register banks */
26 #define DAVINCI_DA830_MCASP2_REG_BASE 0x01D08000
28 /* EDMA channels of dm644x and dm355 */
29 #define DAVINCI_DMA_ASP0_TX 2
30 #define DAVINCI_DMA_ASP0_RX 3
31 #define DAVINCI_DMA_ASP1_TX 8
32 #define DAVINCI_DMA_ASP1_RX 9
34 /* EDMA channels of dm646x */
35 #define DAVINCI_DM646X_DMA_MCASP0_AXEVT0 6
36 #define DAVINCI_DM646X_DMA_MCASP0_AREVT0 9
37 #define DAVINCI_DM646X_DMA_MCASP1_AXEVT1 12
39 /* EDMA channels of da850/da830 McASP0 */
40 #define DAVINCI_DA8XX_DMA_MCASP0_AREVT 0
41 #define DAVINCI_DA8XX_DMA_MCASP0_AXEVT 1
43 /* EDMA channels of da830 McASP1 */
44 #define DAVINCI_DA830_DMA_MCASP1_AREVT 2
45 #define DAVINCI_DA830_DMA_MCASP1_AXEVT 3
47 /* EDMA channels of da830 McASP2 */
48 #define DAVINCI_DA830_DMA_MCASP2_AREVT 4
49 #define DAVINCI_DA830_DMA_MCASP2_AXEVT 5
51 /* Interrupts */
52 #define DAVINCI_ASP0_RX_INT DAVINCI_INTC_IRQ(IRQ_MBRINT)
53 #define DAVINCI_ASP0_TX_INT DAVINCI_INTC_IRQ(IRQ_MBXINT)
54 #define DAVINCI_ASP1_RX_INT DAVINCI_INTC_IRQ(IRQ_MBRINT)
55 #define DAVINCI_ASP1_TX_INT DAVINCI_INTC_IRQ(IRQ_MBXINT)
57 #endif /* __ASM_ARCH_DAVINCI_ASP_H */