omap-wakeupgen.h 1.0 KB

1234567891011121314151617181920212223242526272829303132333435
  1. /* SPDX-License-Identifier: GPL-2.0-only */
  2. /*
  3. * OMAP WakeupGen header file
  4. *
  5. * Copyright (C) 2011 Texas Instruments, Inc.
  6. * Santosh Shilimkar <[email protected]>
  7. */
  8. #ifndef OMAP_ARCH_WAKEUPGEN_H
  9. #define OMAP_ARCH_WAKEUPGEN_H
  10. /* OMAP4 and OMAP5 has same base address */
  11. #define OMAP_WKUPGEN_BASE 0x48281000
  12. #define OMAP_WKG_CONTROL_0 0x00
  13. #define OMAP_WKG_ENB_A_0 0x10
  14. #define OMAP_WKG_ENB_B_0 0x14
  15. #define OMAP_WKG_ENB_C_0 0x18
  16. #define OMAP_WKG_ENB_D_0 0x1c
  17. #define OMAP_WKG_ENB_E_0 0x20
  18. #define OMAP_WKG_ENB_A_1 0x410
  19. #define OMAP_WKG_ENB_B_1 0x414
  20. #define OMAP_WKG_ENB_C_1 0x418
  21. #define OMAP_WKG_ENB_D_1 0x41c
  22. #define OMAP_WKG_ENB_E_1 0x420
  23. #define OMAP_AUX_CORE_BOOT_0 0x800
  24. #define OMAP_AUX_CORE_BOOT_1 0x804
  25. #define OMAP_AMBA_IF_MODE 0x80c
  26. #define OMAP_PTMSYNCREQ_MASK 0xc00
  27. #define OMAP_PTMSYNCREQ_EN 0xc04
  28. #define OMAP_TIMESTAMPCYCLELO 0xc08
  29. #define OMAP_TIMESTAMPCYCLEHI 0xc0c
  30. extern void __iomem *omap_get_wakeupgen_base(void);
  31. extern int omap_secure_apis_support(void);
  32. #endif