Back to home page

OSCL-LXR

 
 

    


0001 /* SPDX-License-Identifier: GPL-2.0-or-later */
0002 /*
0003  * This file contains the processor specific definitions
0004  * of the TI OMAP24XX.
0005  *
0006  * Copyright (C) 2007 Texas Instruments.
0007  * Copyright (C) 2007 Nokia Corporation.
0008  */
0009 
0010 #ifndef __ASM_ARCH_OMAP2_H
0011 #define __ASM_ARCH_OMAP2_H
0012 
0013 /*
0014  * Please place only base defines here and put the rest in device
0015  * specific headers. Note also that some of these defines are needed
0016  * for omap1 to compile without adding ifdefs.
0017  */
0018 
0019 #define L4_24XX_BASE        0x48000000
0020 #define L4_WK_243X_BASE     0x49000000
0021 #define L3_24XX_BASE        0x68000000
0022 
0023 /* interrupt controller */
0024 #define OMAP24XX_IC_BASE    (L4_24XX_BASE + 0xfe000)
0025 #define OMAP24XX_IVA_INTC_BASE  0x40000000
0026 
0027 #define OMAP242X_CTRL_BASE  L4_24XX_BASE
0028 #define OMAP2420_32KSYNCT_BASE  (L4_24XX_BASE + 0x4000)
0029 #define OMAP2420_PRCM_BASE  (L4_24XX_BASE + 0x8000)
0030 #define OMAP2420_CM_BASE    (L4_24XX_BASE + 0x8000)
0031 #define OMAP2420_PRM_BASE   OMAP2420_CM_BASE
0032 #define OMAP2420_SDRC_BASE  (L3_24XX_BASE + 0x9000)
0033 #define OMAP2420_SMS_BASE   0x68008000
0034 #define OMAP2420_GPMC_BASE  0x6800a000
0035 
0036 #define OMAP2430_32KSYNCT_BASE  (L4_WK_243X_BASE + 0x20000)
0037 #define OMAP2430_PRCM_BASE  (L4_WK_243X_BASE + 0x6000)
0038 #define OMAP2430_CM_BASE    (L4_WK_243X_BASE + 0x6000)
0039 #define OMAP2430_PRM_BASE   OMAP2430_CM_BASE
0040 
0041 #define OMAP243X_SMS_BASE   0x6C000000
0042 #define OMAP243X_SDRC_BASE  0x6D000000
0043 #define OMAP243X_GPMC_BASE  0x6E000000
0044 #define OMAP243X_SCM_BASE   (L4_WK_243X_BASE + 0x2000)
0045 #define OMAP243X_CTRL_BASE  OMAP243X_SCM_BASE
0046 #define OMAP243X_HS_BASE    (L4_24XX_BASE + 0x000ac000)
0047 
0048 /* DSP SS */
0049 #define OMAP2420_DSP_BASE   0x58000000
0050 #define OMAP2420_DSP_MEM_BASE   (OMAP2420_DSP_BASE + 0x0)
0051 #define OMAP2420_DSP_IPI_BASE   (OMAP2420_DSP_BASE + 0x1000000)
0052 #define OMAP2420_DSP_MMU_BASE   (OMAP2420_DSP_BASE + 0x2000000)
0053 
0054 #define OMAP243X_DSP_BASE   0x5C000000
0055 #define OMAP243X_DSP_MEM_BASE   (OMAP243X_DSP_BASE + 0x0)
0056 #define OMAP243X_DSP_MMU_BASE   (OMAP243X_DSP_BASE + 0x1000000)
0057 
0058 /* Mailbox */
0059 #define OMAP24XX_MAILBOX_BASE   (L4_24XX_BASE + 0x94000)
0060 
0061 /* Camera */
0062 #define OMAP24XX_CAMERA_BASE    (L4_24XX_BASE + 0x52000)
0063 
0064 /* Security */
0065 #define OMAP24XX_SEC_BASE   (L4_24XX_BASE + 0xA0000)
0066 #define OMAP24XX_SEC_RNG_BASE   (OMAP24XX_SEC_BASE + 0x0000)
0067 #define OMAP24XX_SEC_DES_BASE   (OMAP24XX_SEC_BASE + 0x2000)
0068 #define OMAP24XX_SEC_SHA1MD5_BASE (OMAP24XX_SEC_BASE + 0x4000)
0069 #define OMAP24XX_SEC_AES_BASE   (OMAP24XX_SEC_BASE + 0x6000)
0070 #define OMAP24XX_SEC_PKA_BASE   (OMAP24XX_SEC_BASE + 0x8000)
0071 
0072 #endif /* __ASM_ARCH_OMAP2_H */
0073