Back to home page

OSCL-LXR

 
 

    


0001 /* SPDX-License-Identifier: GPL-2.0-only */
0002 /*
0003  * OMAP WakeupGen header file
0004  *
0005  * Copyright (C) 2011 Texas Instruments, Inc.
0006  *  Santosh Shilimkar <santosh.shilimkar@ti.com>
0007  */
0008 #ifndef OMAP_ARCH_WAKEUPGEN_H
0009 #define OMAP_ARCH_WAKEUPGEN_H
0010 
0011 /* OMAP4 and OMAP5 has same base address */
0012 #define OMAP_WKUPGEN_BASE           0x48281000
0013 
0014 #define OMAP_WKG_CONTROL_0          0x00
0015 #define OMAP_WKG_ENB_A_0            0x10
0016 #define OMAP_WKG_ENB_B_0            0x14
0017 #define OMAP_WKG_ENB_C_0            0x18
0018 #define OMAP_WKG_ENB_D_0            0x1c
0019 #define OMAP_WKG_ENB_E_0            0x20
0020 #define OMAP_WKG_ENB_A_1            0x410
0021 #define OMAP_WKG_ENB_B_1            0x414
0022 #define OMAP_WKG_ENB_C_1            0x418
0023 #define OMAP_WKG_ENB_D_1            0x41c
0024 #define OMAP_WKG_ENB_E_1            0x420
0025 #define OMAP_AUX_CORE_BOOT_0            0x800
0026 #define OMAP_AUX_CORE_BOOT_1            0x804
0027 #define OMAP_AMBA_IF_MODE           0x80c
0028 #define OMAP_PTMSYNCREQ_MASK            0xc00
0029 #define OMAP_PTMSYNCREQ_EN          0xc04
0030 #define OMAP_TIMESTAMPCYCLELO           0xc08
0031 #define OMAP_TIMESTAMPCYCLEHI           0xc0c
0032 
0033 extern void __iomem *omap_get_wakeupgen_base(void);
0034 extern int omap_secure_apis_support(void);
0035 #endif