Back to home page

OSCL-LXR

 
 

    


0001 /* SPDX-License-Identifier: GPL-2.0-only */
0002 /*
0003  * OMAP44xx SCRM registers and bitfields
0004  *
0005  * Copyright (C) 2010 Texas Instruments, Inc.
0006  *
0007  * Benoit Cousson (b-cousson@ti.com)
0008  *
0009  * This file is automatically generated from the OMAP hardware databases.
0010  * We respectfully ask that any modifications to this file be coordinated
0011  * with the public linux-omap@vger.kernel.org mailing list and the
0012  * authors above to ensure that the autogeneration scripts are kept
0013  * up-to-date with the file contents.
0014  */
0015 
0016 #ifndef __ARCH_ARM_MACH_OMAP2_SCRM_44XX_H
0017 #define __ARCH_ARM_MACH_OMAP2_SCRM_44XX_H
0018 
0019 #define OMAP4_SCRM_BASE             0x4a30a000
0020 
0021 #define OMAP44XX_SCRM_REGADDR(reg)  \
0022         OMAP2_L4_IO_ADDRESS(OMAP4_SCRM_BASE + (reg))
0023 
0024 /* Registers offset */
0025 #define OMAP4_SCRM_CLKSETUPTIME         OMAP44XX_SCRM_REGADDR(0x0100)
0026 
0027 /* CLKSETUPTIME */
0028 #define OMAP4_DOWNTIME_SHIFT            16
0029 #define OMAP4_DOWNTIME_MASK         (0x3f << 16)
0030 #define OMAP4_SETUPTIME_SHIFT           0
0031 #define OMAP4_SETUPTIME_MASK            (0xfff << 0)
0032 
0033 #endif