/* SPDX-License-Identifier: GPL-2.0-only */1/*2* OMAP44xx CM1 instance offset macros3*4* Copyright (C) 2009-2011 Texas Instruments, Inc.5* Copyright (C) 2009-2010 Nokia Corporation6*7* Paul Walmsley ([email protected])8* Rajendra Nayak ([email protected])9* Benoit Cousson ([email protected])10*11* This file is automatically generated from the OMAP hardware databases.12* We respectfully ask that any modifications to this file be coordinated13* with the public [email protected] mailing list and the14* authors above to ensure that the autogeneration scripts are kept15* up-to-date with the file contents.16*17* XXX This file needs to be updated to align on one of "OMAP4", "OMAP44XX",18* or "OMAP4430".19*/2021#ifndef __ARCH_ARM_MACH_OMAP2_CM1_44XX_H22#define __ARCH_ARM_MACH_OMAP2_CM1_44XX_H2324/* CM1 base address */25#define OMAP4430_CM1_BASE 0x4a0040002627#define OMAP44XX_CM1_REGADDR(inst, reg) \28OMAP2_L4_IO_ADDRESS(OMAP4430_CM1_BASE + (inst) + (reg))2930/* CM1 instances */31#define OMAP4430_CM1_OCP_SOCKET_INST 0x000032#define OMAP4430_CM1_CKGEN_INST 0x010033#define OMAP4430_CM1_MPU_INST 0x030034#define OMAP4430_CM1_TESLA_INST 0x040035#define OMAP4430_CM1_ABE_INST 0x05003637/* CM1 clockdomain register offsets (from instance start) */38#define OMAP4430_CM1_MPU_MPU_CDOFFS 0x000039#define OMAP4430_CM1_TESLA_TESLA_CDOFFS 0x000040#define OMAP4430_CM1_ABE_ABE_CDOFFS 0x00004142#endif434445