]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blob - include/asm-arm/arch-omap/omap24xx.h
14c0f94965795d4019adc8d4fe2b1654cdaf71b5
[linux-2.6-omap-h63xx.git] / include / asm-arm / arch-omap / omap24xx.h
1 #ifndef __ASM_ARCH_OMAP24XX_H
2 #define __ASM_ARCH_OMAP24XX_H
3
4 /*
5  * Please place only base defines here and put the rest in device
6  * specific headers. Note also that some of these defines are needed
7  * for omap1 to compile without adding ifdefs.
8  */
9
10 #define L4_24XX_BASE            0x48000000
11 #define L4_WK_243X_BASE         0x49000000
12 #define L3_24XX_BASE            0x68000000
13
14 /* interrupt controller */
15 #define OMAP24XX_IC_BASE        (L4_24XX_BASE + 0xfe000)
16 #define VA_IC_BASE              IO_ADDRESS(OMAP24XX_IC_BASE)
17 #define OMAP24XX_IVA_INTC_BASE  0x40000000
18 #define IRQ_SIR_IRQ             0x0040
19
20 #ifdef CONFIG_ARCH_OMAP2420
21 #define OMAP24XX_32KSYNCT_BASE  (L4_24XX_BASE + 0x4000)
22 #define OMAP24XX_PRCM_BASE      (L4_24XX_BASE + 0x8000)
23 #define OMAP24XX_SDRC_BASE      (L3_24XX_BASE + 0x9000)
24 #define OMAP242X_CONTROL_STATUS (L4_24XX_BASE + 0x2f8)
25 #endif
26
27 #ifdef CONFIG_ARCH_OMAP2430
28 #define OMAP24XX_32KSYNCT_BASE  (L4_WK_243X_BASE + 0x20000)
29 #define OMAP24XX_PRCM_BASE      (L4_WK_243X_BASE + 0x6000)
30 #define OMAP24XX_SDRC_BASE      (0x6D000000)
31 #define OMAP242X_CONTROL_STATUS (L4_24XX_BASE + 0x2f8)
32 #define OMAP243X_GPMC_BASE      0x6E000000
33 #endif
34
35 /* DSP SS */
36 #define OMAP24XX_DSP_BASE       0x58000000
37 #define OMAP24XX_DSP_MEM_BASE   (OMAP24XX_DSP_BASE + 0x0)
38 #define OMAP24XX_DSP_IPI_BASE   (OMAP24XX_DSP_BASE + 0x1000000)
39 #define OMAP24XX_DSP_MMU_BASE   (OMAP24XX_DSP_BASE + 0x2000000)
40
41 /* Mailbox */
42 #define OMAP24XX_MAILBOX_BASE   (L4_24XX_BASE + 0x94000)
43
44 #endif /* __ASM_ARCH_OMAP24XX_H */
45