Back to home page

OSCL-LXR

 
 

    


0001 /* SPDX-License-Identifier: GPL-2.0-only */
0002 /*
0003  * OMAP44xx CM1 instance offset macros
0004  *
0005  * Copyright (C) 2009-2011 Texas Instruments, Inc.
0006  * Copyright (C) 2009-2010 Nokia Corporation
0007  *
0008  * Paul Walmsley (paul@pwsan.com)
0009  * Rajendra Nayak (rnayak@ti.com)
0010  * Benoit Cousson (b-cousson@ti.com)
0011  *
0012  * This file is automatically generated from the OMAP hardware databases.
0013  * We respectfully ask that any modifications to this file be coordinated
0014  * with the public linux-omap@vger.kernel.org mailing list and the
0015  * authors above to ensure that the autogeneration scripts are kept
0016  * up-to-date with the file contents.
0017  *
0018  * XXX This file needs to be updated to align on one of "OMAP4", "OMAP44XX",
0019  *     or "OMAP4430".
0020  */
0021 
0022 #ifndef __ARCH_ARM_MACH_OMAP2_CM1_44XX_H
0023 #define __ARCH_ARM_MACH_OMAP2_CM1_44XX_H
0024 
0025 /* CM1 base address */
0026 #define OMAP4430_CM1_BASE       0x4a004000
0027 
0028 #define OMAP44XX_CM1_REGADDR(inst, reg)             \
0029     OMAP2_L4_IO_ADDRESS(OMAP4430_CM1_BASE + (inst) + (reg))
0030 
0031 /* CM1 instances */
0032 #define OMAP4430_CM1_OCP_SOCKET_INST    0x0000
0033 #define OMAP4430_CM1_CKGEN_INST     0x0100
0034 #define OMAP4430_CM1_MPU_INST       0x0300
0035 #define OMAP4430_CM1_TESLA_INST     0x0400
0036 #define OMAP4430_CM1_ABE_INST       0x0500
0037 
0038 /* CM1 clockdomain register offsets (from instance start) */
0039 #define OMAP4430_CM1_MPU_MPU_CDOFFS 0x0000
0040 #define OMAP4430_CM1_TESLA_TESLA_CDOFFS 0x0000
0041 #define OMAP4430_CM1_ABE_ABE_CDOFFS 0x0000
0042 
0043 #endif