2019-05-27 14:55:05 +08:00
|
|
|
/* SPDX-License-Identifier: GPL-2.0-or-later */
|
2008-03-18 16:04:51 +08:00
|
|
|
/*
|
|
|
|
* This file contains the processor specific definitions
|
|
|
|
* of the TI OMAP24XX.
|
|
|
|
*
|
|
|
|
* Copyright (C) 2007 Texas Instruments.
|
|
|
|
* Copyright (C) 2007 Nokia Corporation.
|
|
|
|
*/
|
|
|
|
|
2010-02-13 04:26:47 +08:00
|
|
|
#ifndef __ASM_ARCH_OMAP2_H
|
|
|
|
#define __ASM_ARCH_OMAP2_H
|
2005-09-08 00:20:27 +08:00
|
|
|
|
2005-11-10 22:26:53 +08: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 09:14:05 +08:00
|
|
|
#define L4_WK_243X_BASE 0x49000000
|
2005-11-10 22:26:53 +08:00
|
|
|
#define L3_24XX_BASE 0x68000000
|
2005-09-08 00:20:27 +08:00
|
|
|
|
|
|
|
/* interrupt controller */
|
2005-11-10 22:26:53 +08:00
|
|
|
#define OMAP24XX_IC_BASE (L4_24XX_BASE + 0xfe000)
|
2005-09-08 00:20:27 +08:00
|
|
|
#define OMAP24XX_IVA_INTC_BASE 0x40000000
|
|
|
|
|
2010-10-09 01:40:17 +08:00
|
|
|
#define OMAP242X_CTRL_BASE L4_24XX_BASE
|
2008-03-18 16:04:51 +08:00
|
|
|
#define OMAP2420_32KSYNCT_BASE (L4_24XX_BASE + 0x4000)
|
|
|
|
#define OMAP2420_PRCM_BASE (L4_24XX_BASE + 0x8000)
|
|
|
|
#define OMAP2420_CM_BASE (L4_24XX_BASE + 0x8000)
|
|
|
|
#define OMAP2420_PRM_BASE OMAP2420_CM_BASE
|
|
|
|
#define OMAP2420_SDRC_BASE (L3_24XX_BASE + 0x9000)
|
|
|
|
#define OMAP2420_SMS_BASE 0x68008000
|
2008-10-06 20:49:17 +08:00
|
|
|
#define OMAP2420_GPMC_BASE 0x6800a000
|
2006-12-07 09:14:05 +08:00
|
|
|
|
2008-03-18 16:04:51 +08:00
|
|
|
#define OMAP2430_32KSYNCT_BASE (L4_WK_243X_BASE + 0x20000)
|
|
|
|
#define OMAP2430_PRCM_BASE (L4_WK_243X_BASE + 0x6000)
|
|
|
|
#define OMAP2430_CM_BASE (L4_WK_243X_BASE + 0x6000)
|
|
|
|
#define OMAP2430_PRM_BASE OMAP2430_CM_BASE
|
|
|
|
|
|
|
|
#define OMAP243X_SMS_BASE 0x6C000000
|
|
|
|
#define OMAP243X_SDRC_BASE 0x6D000000
|
2006-12-07 09:14:05 +08:00
|
|
|
#define OMAP243X_GPMC_BASE 0x6E000000
|
2008-03-18 16:04:51 +08:00
|
|
|
#define OMAP243X_SCM_BASE (L4_WK_243X_BASE + 0x2000)
|
|
|
|
#define OMAP243X_CTRL_BASE OMAP243X_SCM_BASE
|
|
|
|
#define OMAP243X_HS_BASE (L4_24XX_BASE + 0x000ac000)
|
2005-11-10 22:26:53 +08:00
|
|
|
|
2006-12-08 05:57:38 +08:00
|
|
|
/* DSP SS */
|
2008-03-18 16:04:51 +08:00
|
|
|
#define OMAP2420_DSP_BASE 0x58000000
|
|
|
|
#define OMAP2420_DSP_MEM_BASE (OMAP2420_DSP_BASE + 0x0)
|
|
|
|
#define OMAP2420_DSP_IPI_BASE (OMAP2420_DSP_BASE + 0x1000000)
|
|
|
|
#define OMAP2420_DSP_MMU_BASE (OMAP2420_DSP_BASE + 0x2000000)
|
|
|
|
|
|
|
|
#define OMAP243X_DSP_BASE 0x5C000000
|
|
|
|
#define OMAP243X_DSP_MEM_BASE (OMAP243X_DSP_BASE + 0x0)
|
|
|
|
#define OMAP243X_DSP_MMU_BASE (OMAP243X_DSP_BASE + 0x1000000)
|
2006-12-08 05:57:38 +08:00
|
|
|
|
|
|
|
/* Mailbox */
|
|
|
|
#define OMAP24XX_MAILBOX_BASE (L4_24XX_BASE + 0x94000)
|
|
|
|
|
2008-03-18 16:04:51 +08:00
|
|
|
/* Camera */
|
|
|
|
#define OMAP24XX_CAMERA_BASE (L4_24XX_BASE + 0x52000)
|
|
|
|
|
|
|
|
/* Security */
|
|
|
|
#define OMAP24XX_SEC_BASE (L4_24XX_BASE + 0xA0000)
|
|
|
|
#define OMAP24XX_SEC_RNG_BASE (OMAP24XX_SEC_BASE + 0x0000)
|
|
|
|
#define OMAP24XX_SEC_DES_BASE (OMAP24XX_SEC_BASE + 0x2000)
|
|
|
|
#define OMAP24XX_SEC_SHA1MD5_BASE (OMAP24XX_SEC_BASE + 0x4000)
|
|
|
|
#define OMAP24XX_SEC_AES_BASE (OMAP24XX_SEC_BASE + 0x6000)
|
|
|
|
#define OMAP24XX_SEC_PKA_BASE (OMAP24XX_SEC_BASE + 0x8000)
|
|
|
|
|
2010-02-13 04:26:47 +08:00
|
|
|
#endif /* __ASM_ARCH_OMAP2_H */
|
2005-09-08 00:20:27 +08:00
|
|
|
|