omap24xx.h 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. #ifndef __ASM_ARCH_OMAP24XX_H
  2. #define __ASM_ARCH_OMAP24XX_H
  3. /*
  4. * Please place only base defines here and put the rest in device
  5. * specific headers. Note also that some of these defines are needed
  6. * for omap1 to compile without adding ifdefs.
  7. */
  8. #define L4_24XX_BASE 0x48000000
  9. #define L4_WK_243X_BASE 0x49000000
  10. #define L3_24XX_BASE 0x68000000
  11. /* interrupt controller */
  12. #define OMAP24XX_IC_BASE (L4_24XX_BASE + 0xfe000)
  13. #define VA_IC_BASE IO_ADDRESS(OMAP24XX_IC_BASE)
  14. #define OMAP24XX_IVA_INTC_BASE 0x40000000
  15. #define IRQ_SIR_IRQ 0x0040
  16. #ifdef CONFIG_ARCH_OMAP2420
  17. #define OMAP24XX_32KSYNCT_BASE (L4_24XX_BASE + 0x4000)
  18. #define OMAP24XX_PRCM_BASE (L4_24XX_BASE + 0x8000)
  19. #define OMAP24XX_SDRC_BASE (L3_24XX_BASE + 0x9000)
  20. #define OMAP242X_CONTROL_STATUS (L4_24XX_BASE + 0x2f8)
  21. #endif
  22. #ifdef CONFIG_ARCH_OMAP2430
  23. #define OMAP24XX_32KSYNCT_BASE (L4_WK_243X_BASE + 0x20000)
  24. #define OMAP24XX_PRCM_BASE (L4_WK_243X_BASE + 0x6000)
  25. #define OMAP24XX_SDRC_BASE (0x6D000000)
  26. #define OMAP242X_CONTROL_STATUS (L4_24XX_BASE + 0x2f8)
  27. #define OMAP243X_GPMC_BASE 0x6E000000
  28. #endif
  29. /* DSP SS */
  30. #define OMAP24XX_DSP_BASE 0x58000000
  31. #define OMAP24XX_DSP_MEM_BASE (OMAP24XX_DSP_BASE + 0x0)
  32. #define OMAP24XX_DSP_IPI_BASE (OMAP24XX_DSP_BASE + 0x1000000)
  33. #define OMAP24XX_DSP_MMU_BASE (OMAP24XX_DSP_BASE + 0x2000000)
  34. /* Mailbox */
  35. #define OMAP24XX_MAILBOX_BASE (L4_24XX_BASE + 0x94000)
  36. #endif /* __ASM_ARCH_OMAP24XX_H */