]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blob - include/asm-arm/arch-omap/omap24xx.h
omap2: add OMAP3430 base defines
[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 OMAP24XX_IVA_INTC_BASE  0x40000000
17 #define IRQ_SIR_IRQ             0x0040
18
19 #define OMAP24XX_CONTROL_STATUS (L4_24XX_BASE + 0x2f8)
20
21 #define OMAP2420_CTRL_BASE      L4_24XX_BASE
22 #define OMAP2420_32KSYNCT_BASE  (L4_24XX_BASE + 0x4000)
23 #define OMAP2420_PRCM_BASE      (L4_24XX_BASE + 0x8000)
24 #define OMAP2420_CM_BASE        (L4_24XX_BASE + 0x8000)
25 #define OMAP2420_PRM_BASE       OMAP2420_CM_BASE
26 #define OMAP2420_SDRC_BASE      (L3_24XX_BASE + 0x9000)
27 #define OMAP2420_SMS_BASE       0x68008000
28
29 #define OMAP2430_32KSYNCT_BASE  (L4_WK_243X_BASE + 0x20000)
30 #define OMAP2430_PRCM_BASE      (L4_WK_243X_BASE + 0x6000)
31 #define OMAP2430_CM_BASE        (L4_WK_243X_BASE + 0x6000)
32 #define OMAP2430_PRM_BASE       OMAP2430_CM_BASE
33
34 #define OMAP243X_SMS_BASE       0x6C000000
35 #define OMAP243X_SDRC_BASE      0x6D000000
36 #define OMAP243X_GPMC_BASE      0x6E000000
37 #define OMAP243X_SCM_BASE       (L4_WK_243X_BASE + 0x2000)
38 #define OMAP243X_CTRL_BASE      OMAP243X_SCM_BASE
39 #define OMAP243X_HS_BASE        (L4_24XX_BASE + 0x000ac000)
40
41 /* DSP SS */
42 #define OMAP2420_DSP_BASE       0x58000000
43 #define OMAP2420_DSP_MEM_BASE   (OMAP2420_DSP_BASE + 0x0)
44 #define OMAP2420_DSP_IPI_BASE   (OMAP2420_DSP_BASE + 0x1000000)
45 #define OMAP2420_DSP_MMU_BASE   (OMAP2420_DSP_BASE + 0x2000000)
46
47 #define OMAP243X_DSP_BASE       0x5C000000
48 #define OMAP243X_DSP_MEM_BASE   (OMAP243X_DSP_BASE + 0x0)
49 #define OMAP243X_DSP_MMU_BASE   (OMAP243X_DSP_BASE + 0x1000000)
50
51 /* Mailbox */
52 #define OMAP24XX_MAILBOX_BASE   (L4_24XX_BASE + 0x94000)
53
54 #if defined(CONFIG_ARCH_OMAP2420)
55
56 #define OMAP2_32KSYNCT_BASE     OMAP2420_32KSYNCT_BASE
57 #define OMAP2_PRCM_BASE         OMAP2420_PRCM_BASE
58 #define OMAP2_CM_BASE           OMAP2420_CM_BASE
59 #define OMAP2_PRM_BASE          OMAP2420_PRM_BASE
60 #define OMAP2_SDRC_BASE         OMAP2420_SDRC_BASE
61 #define OMAP2_SMS_BASE          OMAP2420_SMS_BASE
62 #define OMAP2_L4_BASE           L4_24XX_BASE
63 #define OMAP2_VA_IC_BASE        IO_ADDRESS(OMAP24XX_IC_BASE)
64 #define OMAP2_CTRL_BASE         OMAP2420_CTRL_BASE
65
66 #elif defined(CONFIG_ARCH_OMAP2430)
67
68 #define OMAP2_32KSYNCT_BASE     OMAP2430_32KSYNCT_BASE
69 #define OMAP2_PRCM_BASE         OMAP2430_PRCM_BASE
70 #define OMAP2_CM_BASE           OMAP2430_CM_BASE
71 #define OMAP2_PRM_BASE          OMAP2430_PRM_BASE
72 #define OMAP2_SDRC_BASE         OMAP243X_SDRC_BASE
73 #define OMAP2_SMS_BASE          OMAP243X_SMS_BASE
74 #define OMAP2_L4_BASE           L4_24XX_BASE
75 #define OMAP2_VA_IC_BASE        IO_ADDRESS(OMAP24XX_IC_BASE)
76 #define OMAP2_CTRL_BASE         OMAP243X_CTRL_BASE
77
78 #endif
79
80 #endif /* __ASM_ARCH_OMAP24XX_H */
81