2005-09-07 18:20:27 +02:00
|
|
|
#ifndef __ASM_ARCH_OMAP24XX_H
|
|
|
|
#define __ASM_ARCH_OMAP24XX_H
|
|
|
|
|
2005-11-10 15:26:53 +01:00
|
|
|
/*
|
|
|
|
* Please place only base defines here and put the rest in device
|
|
|
|
* specific headers. Note also that some of these defines are needed
|
|
|
|
* for omap1 to compile without adding ifdefs.
|
|
|
|
*/
|
|
|
|
|
|
|
|
#define L4_24XX_BASE 0x48000000
|
2006-12-07 02:14:05 +01:00
|
|
|
#define L4_WK_243X_BASE 0x49000000
|
2005-11-10 15:26:53 +01:00
|
|
|
#define L3_24XX_BASE 0x68000000
|
2005-09-07 18:20:27 +02:00
|
|
|
|
|
|
|
/* interrupt controller */
|
2005-11-10 15:26:53 +01:00
|
|
|
#define OMAP24XX_IC_BASE (L4_24XX_BASE + 0xfe000)
|
2005-09-07 18:20:27 +02:00
|
|
|
#define VA_IC_BASE IO_ADDRESS(OMAP24XX_IC_BASE)
|
|
|
|
#define OMAP24XX_IVA_INTC_BASE 0x40000000
|
|
|
|
#define IRQ_SIR_IRQ 0x0040
|
|
|
|
|
2006-12-07 02:14:05 +01:00
|
|
|
#ifdef CONFIG_ARCH_OMAP2420
|
2005-11-10 15:26:53 +01:00
|
|
|
#define OMAP24XX_32KSYNCT_BASE (L4_24XX_BASE + 0x4000)
|
|
|
|
#define OMAP24XX_PRCM_BASE (L4_24XX_BASE + 0x8000)
|
|
|
|
#define OMAP24XX_SDRC_BASE (L3_24XX_BASE + 0x9000)
|
2006-12-07 02:14:05 +01:00
|
|
|
#define OMAP242X_CONTROL_STATUS (L4_24XX_BASE + 0x2f8)
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifdef CONFIG_ARCH_OMAP2430
|
|
|
|
#define OMAP24XX_32KSYNCT_BASE (L4_WK_243X_BASE + 0x20000)
|
|
|
|
#define OMAP24XX_PRCM_BASE (L4_WK_243X_BASE + 0x6000)
|
|
|
|
#define OMAP24XX_SDRC_BASE (0x6D000000)
|
|
|
|
#define OMAP242X_CONTROL_STATUS (L4_24XX_BASE + 0x2f8)
|
|
|
|
#define OMAP243X_GPMC_BASE 0x6E000000
|
|
|
|
#endif
|
2005-11-10 15:26:53 +01:00
|
|
|
|
2006-12-07 22:57:38 +01:00
|
|
|
/* DSP SS */
|
|
|
|
#define OMAP24XX_DSP_BASE 0x58000000
|
|
|
|
#define OMAP24XX_DSP_MEM_BASE (OMAP24XX_DSP_BASE + 0x0)
|
|
|
|
#define OMAP24XX_DSP_IPI_BASE (OMAP24XX_DSP_BASE + 0x1000000)
|
|
|
|
#define OMAP24XX_DSP_MMU_BASE (OMAP24XX_DSP_BASE + 0x2000000)
|
|
|
|
|
|
|
|
/* Mailbox */
|
|
|
|
#define OMAP24XX_MAILBOX_BASE (L4_24XX_BASE + 0x94000)
|
|
|
|
|
2005-09-07 18:20:27 +02:00
|
|
|
#endif /* __ASM_ARCH_OMAP24XX_H */
|
|
|
|
|