omap-wakeupgen.h 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. /*
  2. * OMAP WakeupGen header file
  3. *
  4. * Copyright (C) 2011 Texas Instruments, Inc.
  5. * Santosh Shilimkar <santosh.shilimkar@ti.com>
  6. *
  7. * This program is free software; you can redistribute it and/or modify
  8. * it under the terms of the GNU General Public License version 2 as
  9. * published by the Free Software Foundation.
  10. */
  11. #ifndef OMAP_ARCH_WAKEUPGEN_H
  12. #define OMAP_ARCH_WAKEUPGEN_H
  13. #define OMAP_WKG_CONTROL_0 0x00
  14. #define OMAP_WKG_ENB_A_0 0x10
  15. #define OMAP_WKG_ENB_B_0 0x14
  16. #define OMAP_WKG_ENB_C_0 0x18
  17. #define OMAP_WKG_ENB_D_0 0x1c
  18. #define OMAP_WKG_ENB_SECURE_A_0 0x20
  19. #define OMAP_WKG_ENB_SECURE_B_0 0x24
  20. #define OMAP_WKG_ENB_SECURE_C_0 0x28
  21. #define OMAP_WKG_ENB_SECURE_D_0 0x2c
  22. #define OMAP_WKG_ENB_A_1 0x410
  23. #define OMAP_WKG_ENB_B_1 0x414
  24. #define OMAP_WKG_ENB_C_1 0x418
  25. #define OMAP_WKG_ENB_D_1 0x41c
  26. #define OMAP_WKG_ENB_SECURE_A_1 0x420
  27. #define OMAP_WKG_ENB_SECURE_B_1 0x424
  28. #define OMAP_WKG_ENB_SECURE_C_1 0x428
  29. #define OMAP_WKG_ENB_SECURE_D_1 0x42c
  30. #define OMAP_AUX_CORE_BOOT_0 0x800
  31. #define OMAP_AUX_CORE_BOOT_1 0x804
  32. #define OMAP_PTMSYNCREQ_MASK 0xc00
  33. #define OMAP_PTMSYNCREQ_EN 0xc04
  34. #define OMAP_TIMESTAMPCYCLELO 0xc08
  35. #define OMAP_TIMESTAMPCYCLEHI 0xc0c
  36. extern int __init omap_wakeupgen_init(void);
  37. #endif