omap24xx.h 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990
  1. /*
  2. * arch/arm/plat-omap/include/mach/omap24xx.h
  3. *
  4. * This file contains the processor specific definitions
  5. * of the TI OMAP24XX.
  6. *
  7. * Copyright (C) 2007 Texas Instruments.
  8. * Copyright (C) 2007 Nokia Corporation.
  9. *
  10. * This program is free software; you can redistribute it and/or modify
  11. * it under the terms of the GNU General Public License as published by
  12. * the Free Software Foundation; either version 2 of the License, or
  13. * (at your option) any later version.
  14. *
  15. * This program is distributed in the hope that it will be useful,
  16. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  17. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  18. * GNU General Public License for more details.
  19. *
  20. * You should have received a copy of the GNU General Public License
  21. * along with this program; if not, write to the Free Software
  22. * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
  23. *
  24. */
  25. #ifndef __ASM_ARCH_OMAP2_H
  26. #define __ASM_ARCH_OMAP2_H
  27. /*
  28. * Please place only base defines here and put the rest in device
  29. * specific headers. Note also that some of these defines are needed
  30. * for omap1 to compile without adding ifdefs.
  31. */
  32. #define L4_24XX_BASE 0x48000000
  33. #define L4_WK_243X_BASE 0x49000000
  34. #define L3_24XX_BASE 0x68000000
  35. /* interrupt controller */
  36. #define OMAP24XX_IC_BASE (L4_24XX_BASE + 0xfe000)
  37. #define OMAP24XX_IVA_INTC_BASE 0x40000000
  38. #define OMAP242X_CTRL_BASE L4_24XX_BASE
  39. #define OMAP2420_32KSYNCT_BASE (L4_24XX_BASE + 0x4000)
  40. #define OMAP2420_PRCM_BASE (L4_24XX_BASE + 0x8000)
  41. #define OMAP2420_CM_BASE (L4_24XX_BASE + 0x8000)
  42. #define OMAP2420_PRM_BASE OMAP2420_CM_BASE
  43. #define OMAP2420_SDRC_BASE (L3_24XX_BASE + 0x9000)
  44. #define OMAP2420_SMS_BASE 0x68008000
  45. #define OMAP2420_GPMC_BASE 0x6800a000
  46. #define OMAP2430_32KSYNCT_BASE (L4_WK_243X_BASE + 0x20000)
  47. #define OMAP2430_PRCM_BASE (L4_WK_243X_BASE + 0x6000)
  48. #define OMAP2430_CM_BASE (L4_WK_243X_BASE + 0x6000)
  49. #define OMAP2430_PRM_BASE OMAP2430_CM_BASE
  50. #define OMAP243X_SMS_BASE 0x6C000000
  51. #define OMAP243X_SDRC_BASE 0x6D000000
  52. #define OMAP243X_GPMC_BASE 0x6E000000
  53. #define OMAP243X_SCM_BASE (L4_WK_243X_BASE + 0x2000)
  54. #define OMAP243X_CTRL_BASE OMAP243X_SCM_BASE
  55. #define OMAP243X_HS_BASE (L4_24XX_BASE + 0x000ac000)
  56. /* DSP SS */
  57. #define OMAP2420_DSP_BASE 0x58000000
  58. #define OMAP2420_DSP_MEM_BASE (OMAP2420_DSP_BASE + 0x0)
  59. #define OMAP2420_DSP_IPI_BASE (OMAP2420_DSP_BASE + 0x1000000)
  60. #define OMAP2420_DSP_MMU_BASE (OMAP2420_DSP_BASE + 0x2000000)
  61. #define OMAP243X_DSP_BASE 0x5C000000
  62. #define OMAP243X_DSP_MEM_BASE (OMAP243X_DSP_BASE + 0x0)
  63. #define OMAP243X_DSP_MMU_BASE (OMAP243X_DSP_BASE + 0x1000000)
  64. /* Mailbox */
  65. #define OMAP24XX_MAILBOX_BASE (L4_24XX_BASE + 0x94000)
  66. /* Camera */
  67. #define OMAP24XX_CAMERA_BASE (L4_24XX_BASE + 0x52000)
  68. /* Security */
  69. #define OMAP24XX_SEC_BASE (L4_24XX_BASE + 0xA0000)
  70. #define OMAP24XX_SEC_RNG_BASE (OMAP24XX_SEC_BASE + 0x0000)
  71. #define OMAP24XX_SEC_DES_BASE (OMAP24XX_SEC_BASE + 0x2000)
  72. #define OMAP24XX_SEC_SHA1MD5_BASE (OMAP24XX_SEC_BASE + 0x4000)
  73. #define OMAP24XX_SEC_AES_BASE (OMAP24XX_SEC_BASE + 0x6000)
  74. #define OMAP24XX_SEC_PKA_BASE (OMAP24XX_SEC_BASE + 0x8000)
  75. #endif /* __ASM_ARCH_OMAP2_H */