1732231a7STony Lindgren /* 2732231a7STony Lindgren * OMAP WakeupGen header file 3732231a7STony Lindgren * 4732231a7STony Lindgren * Copyright (C) 2011 Texas Instruments, Inc. 5732231a7STony Lindgren * Santosh Shilimkar <santosh.shilimkar@ti.com> 6732231a7STony Lindgren * 7732231a7STony Lindgren * This program is free software; you can redistribute it and/or modify 8732231a7STony Lindgren * it under the terms of the GNU General Public License version 2 as 9732231a7STony Lindgren * published by the Free Software Foundation. 10732231a7STony Lindgren */ 11732231a7STony Lindgren #ifndef OMAP_ARCH_WAKEUPGEN_H 12732231a7STony Lindgren #define OMAP_ARCH_WAKEUPGEN_H 13732231a7STony Lindgren 14732231a7STony Lindgren /* OMAP4 and OMAP5 has same base address */ 15732231a7STony Lindgren #define OMAP_WKUPGEN_BASE 0x48281000 16732231a7STony Lindgren 17732231a7STony Lindgren #define OMAP_WKG_CONTROL_0 0x00 18732231a7STony Lindgren #define OMAP_WKG_ENB_A_0 0x10 19732231a7STony Lindgren #define OMAP_WKG_ENB_B_0 0x14 20732231a7STony Lindgren #define OMAP_WKG_ENB_C_0 0x18 21732231a7STony Lindgren #define OMAP_WKG_ENB_D_0 0x1c 22732231a7STony Lindgren #define OMAP_WKG_ENB_E_0 0x20 23732231a7STony Lindgren #define OMAP_WKG_ENB_A_1 0x410 24732231a7STony Lindgren #define OMAP_WKG_ENB_B_1 0x414 25732231a7STony Lindgren #define OMAP_WKG_ENB_C_1 0x418 26732231a7STony Lindgren #define OMAP_WKG_ENB_D_1 0x41c 27732231a7STony Lindgren #define OMAP_WKG_ENB_E_1 0x420 28732231a7STony Lindgren #define OMAP_AUX_CORE_BOOT_0 0x800 29732231a7STony Lindgren #define OMAP_AUX_CORE_BOOT_1 0x804 30732231a7STony Lindgren #define OMAP_PTMSYNCREQ_MASK 0xc00 31732231a7STony Lindgren #define OMAP_PTMSYNCREQ_EN 0xc04 32732231a7STony Lindgren #define OMAP_TIMESTAMPCYCLELO 0xc08 33732231a7STony Lindgren #define OMAP_TIMESTAMPCYCLEHI 0xc0c 34732231a7STony Lindgren 35732231a7STony Lindgren extern int __init omap_wakeupgen_init(void); 36732231a7STony Lindgren extern void __iomem *omap_get_wakeupgen_base(void); 37732231a7STony Lindgren extern int omap_secure_apis_support(void); 38732231a7STony Lindgren #endif 39