1 /* SPDX-License-Identifier: GPL-2.0-only */
3 * OMAP44xx SCRM registers and bitfields
5 * Copyright (C) 2010 Texas Instruments, Inc.
7 * Benoit Cousson (b-cousson@ti.com)
9 * This file is automatically generated from the OMAP hardware databases.
10 * We respectfully ask that any modifications to this file be coordinated
11 * with the public linux-omap@vger.kernel.org mailing list and the
12 * authors above to ensure that the autogeneration scripts are kept
13 * up-to-date with the file contents.
16 #ifndef __ARCH_ARM_MACH_OMAP2_SCRM_44XX_H
17 #define __ARCH_ARM_MACH_OMAP2_SCRM_44XX_H
19 #define OMAP4_SCRM_BASE 0x4a30a000
21 #define OMAP44XX_SCRM_REGADDR(reg) \
22 OMAP2_L4_IO_ADDRESS(OMAP4_SCRM_BASE + (reg))
24 /* Registers offset */
25 #define OMAP4_SCRM_CLKSETUPTIME OMAP44XX_SCRM_REGADDR(0x0100)
28 #define OMAP4_DOWNTIME_SHIFT 16
29 #define OMAP4_DOWNTIME_MASK (0x3f << 16)
30 #define OMAP4_SETUPTIME_SHIFT 0
31 #define OMAP4_SETUPTIME_MASK (0xfff << 0)