aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-omap2/devices.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/mach-omap2/devices.c')
-rw-r--r--arch/arm/mach-omap2/devices.c19
1 files changed, 8 insertions, 11 deletions
diff --git a/arch/arm/mach-omap2/devices.c b/arch/arm/mach-omap2/devices.c
index 02b9478b786f..6f6893e38ffc 100644
--- a/arch/arm/mach-omap2/devices.c
+++ b/arch/arm/mach-omap2/devices.c
@@ -19,18 +19,17 @@
19#include <linux/of.h> 19#include <linux/of.h>
20#include <linux/platform_data/omap4-keypad.h> 20#include <linux/platform_data/omap4-keypad.h>
21 21
22#include <mach/hardware.h>
23#include <mach/irqs.h>
24#include <asm/mach-types.h> 22#include <asm/mach-types.h>
25#include <asm/mach/map.h> 23#include <asm/mach/map.h>
26 24
27#include "iomap.h" 25#include "iomap.h"
28#include <plat/board.h>
29#include <plat/dma.h> 26#include <plat/dma.h>
30#include <plat/omap_hwmod.h> 27#include <plat/omap_hwmod.h>
31#include <plat/omap_device.h> 28#include <plat/omap_device.h>
32#include <plat/omap4-keypad.h> 29#include <plat/omap4-keypad.h>
33 30
31#include "soc.h"
32#include "common.h"
34#include "mux.h" 33#include "mux.h"
35#include "control.h" 34#include "control.h"
36#include "devices.h" 35#include "devices.h"
@@ -111,7 +110,7 @@ static struct resource omap2cam_resources[] = {
111 .flags = IORESOURCE_MEM, 110 .flags = IORESOURCE_MEM,
112 }, 111 },
113 { 112 {
114 .start = INT_24XX_CAM_IRQ, 113 .start = 24 + OMAP_INTC_START,
115 .flags = IORESOURCE_IRQ, 114 .flags = IORESOURCE_IRQ,
116 } 115 }
117}; 116};
@@ -200,7 +199,7 @@ static struct resource omap3isp_resources[] = {
200 .flags = IORESOURCE_MEM, 199 .flags = IORESOURCE_MEM,
201 }, 200 },
202 { 201 {
203 .start = INT_34XX_CAM_IRQ, 202 .start = 24 + OMAP_INTC_START,
204 .flags = IORESOURCE_IRQ, 203 .flags = IORESOURCE_IRQ,
205 } 204 }
206}; 205};
@@ -434,14 +433,12 @@ static inline void omap_init_mcspi(void) {}
434#endif 433#endif
435 434
436static struct resource omap2_pmu_resource = { 435static struct resource omap2_pmu_resource = {
437 .start = 3, 436 .start = 3 + OMAP_INTC_START,
438 .end = 3,
439 .flags = IORESOURCE_IRQ, 437 .flags = IORESOURCE_IRQ,
440}; 438};
441 439
442static struct resource omap3_pmu_resource = { 440static struct resource omap3_pmu_resource = {
443 .start = INT_34XX_BENCH_MPU_EMUL, 441 .start = 3 + OMAP_INTC_START,
444 .end = INT_34XX_BENCH_MPU_EMUL,
445 .flags = IORESOURCE_IRQ, 442 .flags = IORESOURCE_IRQ,
446}; 443};
447 444
@@ -474,7 +471,7 @@ static struct resource omap2_sham_resources[] = {
474 .flags = IORESOURCE_MEM, 471 .flags = IORESOURCE_MEM,
475 }, 472 },
476 { 473 {
477 .start = INT_24XX_SHA1MD5, 474 .start = 51 + OMAP_INTC_START,
478 .flags = IORESOURCE_IRQ, 475 .flags = IORESOURCE_IRQ,
479 } 476 }
480}; 477};
@@ -492,7 +489,7 @@ static struct resource omap3_sham_resources[] = {
492 .flags = IORESOURCE_MEM, 489 .flags = IORESOURCE_MEM,
493 }, 490 },
494 { 491 {
495 .start = INT_34XX_SHA1MD52_IRQ, 492 .start = 49 + OMAP_INTC_START,
496 .flags = IORESOURCE_IRQ, 493 .flags = IORESOURCE_IRQ,
497 }, 494 },
498 { 495 {