From ced4c076a24850fb0a125716bb9af3ea0fa30154 Mon Sep 17 00:00:00 2001 From: Eduardo Valentin Date: Thu, 24 Apr 2008 11:54:24 -0400 Subject: [PATCH] OMAP3xx: Add DMA and IRQ definition for McBSP 1 and 2 This patch adds DMA and IRQ definition for McBSP 1 and 2 devices for omap34xx based systems. Signed-off-by: Eduardo Valentin Signed-off-by: Tony Lindgren --- include/asm-arm/arch-omap/dma.h | 4 ++++ include/asm-arm/arch-omap/irqs.h | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/include/asm-arm/arch-omap/dma.h b/include/asm-arm/arch-omap/dma.h index be0431efc3e..270e15864c6 100644 --- a/include/asm-arm/arch-omap/dma.h +++ b/include/asm-arm/arch-omap/dma.h @@ -273,6 +273,10 @@ #define OMAP24XX_DMA_MS 63 /* S_DMA_62 */ #define OMAP242X_DMA_EXT_DMAREQ5 64 /* S_DMA_63 */ #define OMAP243X_DMA_EXT_DMAREQ6 64 /* S_DMA_63 */ +#define OMAP34XX_DMA_MCBSP1_TX 31 /* S_DMA_30 */ +#define OMAP34XX_DMA_MCBSP1_RX 32 /* S_DMA_31 */ +#define OMAP34XX_DMA_MCBSP2_TX 33 /* S_DMA_32 */ +#define OMAP34XX_DMA_MCBSP2_RX 34 /* S_DMA_33 */ #define OMAP34XX_DMA_EXT_DMAREQ3 64 /* S_DMA_63 */ #define OMAP34XX_DMA_AES2_TX 65 /* S_DMA_64 */ #define OMAP34XX_DMA_AES2_RX 66 /* S_DMA_65 */ diff --git a/include/asm-arm/arch-omap/irqs.h b/include/asm-arm/arch-omap/irqs.h index c80e1602f50..d15e75cef20 100644 --- a/include/asm-arm/arch-omap/irqs.h +++ b/include/asm-arm/arch-omap/irqs.h @@ -315,7 +315,11 @@ #define INT_34XX_USIM_IRQ 35 #define INT_34XX_WDT3_IRQ 36 #define INT_34XX_SPI4_IRQ 48 +#define INT_34XX_MCBSP1_IRQ_TX 59 +#define INT_34XX_MCBSP1_IRQ_RX 60 #define INT_34XX_I2C3_IRQ 61 +#define INT_34XX_MCBSP2_IRQ_TX 62 +#define INT_34XX_MCBSP2_IRQ_RX 63 #define INT_34XX_PBIAS_IRQ 75 #define INT_34XX_OHCI_IRQ 76 #define INT_34XX_EHCI_IRQ 77 -- 2.41.1