Tony Lindgren | 9839c6b | 2005-09-07 17:20:27 +0100 | [diff] [blame] | 1 | #ifndef __ASM_ARCH_OMAP24XX_H |
| 2 | #define __ASM_ARCH_OMAP24XX_H |
| 3 | |
Tony Lindgren | 9ad5897 | 2005-11-10 14:26:53 +0000 | [diff] [blame] | 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 |
Syed Mohammed Khasim | 72d0f1c | 2006-12-06 17:14:05 -0800 | [diff] [blame] | 11 | #define L4_WK_243X_BASE 0x49000000 |
Tony Lindgren | 9ad5897 | 2005-11-10 14:26:53 +0000 | [diff] [blame] | 12 | #define L3_24XX_BASE 0x68000000 |
Tony Lindgren | 9839c6b | 2005-09-07 17:20:27 +0100 | [diff] [blame] | 13 | |
| 14 | /* interrupt controller */ |
Tony Lindgren | 9ad5897 | 2005-11-10 14:26:53 +0000 | [diff] [blame] | 15 | #define OMAP24XX_IC_BASE (L4_24XX_BASE + 0xfe000) |
Tony Lindgren | 9839c6b | 2005-09-07 17:20:27 +0100 | [diff] [blame] | 16 | #define VA_IC_BASE IO_ADDRESS(OMAP24XX_IC_BASE) |
Tony Lindgren | 9839c6b | 2005-09-07 17:20:27 +0100 | [diff] [blame] | 17 | #define OMAP24XX_IVA_INTC_BASE 0x40000000 |
Tony Lindgren | 9839c6b | 2005-09-07 17:20:27 +0100 | [diff] [blame] | 18 | #define IRQ_SIR_IRQ 0x0040 |
| 19 | |
Syed Mohammed Khasim | 72d0f1c | 2006-12-06 17:14:05 -0800 | [diff] [blame] | 20 | #ifdef CONFIG_ARCH_OMAP2420 |
Tony Lindgren | 9ad5897 | 2005-11-10 14:26:53 +0000 | [diff] [blame] | 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) |
Syed Mohammed Khasim | 72d0f1c | 2006-12-06 17:14:05 -0800 | [diff] [blame] | 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 |
Tony Lindgren | 9ad5897 | 2005-11-10 14:26:53 +0000 | [diff] [blame] | 34 | |
Tony Lindgren | f4e4c32 | 2006-12-07 13:57:38 -0800 | [diff] [blame] | 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 | |
Tony Lindgren | 9839c6b | 2005-09-07 17:20:27 +0100 | [diff] [blame] | 44 | #endif /* __ASM_ARCH_OMAP24XX_H */ |
| 45 | |