summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-davinci/asp.h
diff options
context:
space:
mode:
authorPeter Ujfalusi <peter.ujfalusi@ti.com>2015-03-12 09:06:28 +0100
committerSekhar Nori <nsekhar@ti.com>2015-03-18 11:22:05 +0100
commit3775c31376329830b547fa5e11f966bec2a92cbe (patch)
tree8e3f0cd875ab855adaec49b58cf27c8e0d831ddc /arch/arm/mach-davinci/asp.h
parentARM: davinci: devices-da8xx: Clean up and correct the McASP device creation (diff)
downloadlinux-3775c31376329830b547fa5e11f966bec2a92cbe.tar.xz
linux-3775c31376329830b547fa5e11f966bec2a92cbe.zip
ARM: davinci: devices-da8xx: Add support for McASP2 on da830
da830 has three McASP blocks. Signed-off-by: Peter Ujfalusi <peter.ujfalusi@ti.com> Signed-off-by: Sekhar Nori <nsekhar@ti.com>
Diffstat (limited to 'arch/arm/mach-davinci/asp.h')
-rw-r--r--arch/arm/mach-davinci/asp.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/arch/arm/mach-davinci/asp.h b/arch/arm/mach-davinci/asp.h
index d9b2acd12393..1128e1d8e4b4 100644
--- a/arch/arm/mach-davinci/asp.h
+++ b/arch/arm/mach-davinci/asp.h
@@ -21,6 +21,9 @@
/* Bases of da830 McASP1 register banks */
#define DAVINCI_DA830_MCASP1_REG_BASE 0x01D04000
+/* Bases of da830 McASP2 register banks */
+#define DAVINCI_DA830_MCASP2_REG_BASE 0x01D08000
+
/* EDMA channels of dm644x and dm355 */
#define DAVINCI_DMA_ASP0_TX 2
#define DAVINCI_DMA_ASP0_RX 3
@@ -40,6 +43,10 @@
#define DAVINCI_DA830_DMA_MCASP1_AREVT 2
#define DAVINCI_DA830_DMA_MCASP1_AXEVT 3
+/* EDMA channels of da830 McASP2 */
+#define DAVINCI_DA830_DMA_MCASP2_AREVT 4
+#define DAVINCI_DA830_DMA_MCASP2_AXEVT 5
+
/* Interrupts */
#define DAVINCI_ASP0_RX_INT IRQ_MBRINT
#define DAVINCI_ASP0_TX_INT IRQ_MBXINT