regs-apmu.h 900 B

1234567891011121314151617181920212223242526272829303132
  1. /*
  2. * Application Subsystem Power Management Unit
  3. *
  4. * This program is free software; you can redistribute it and/or modify
  5. * it under the terms of the GNU General Public License version 2 as
  6. * published by the Free Software Foundation.
  7. */
  8. #ifndef __ASM_MACH_REGS_APMU_H
  9. #define __ASM_MACH_REGS_APMU_H
  10. #include "addr-map.h"
  11. #define APMU_FNCLK_EN (1 << 4)
  12. #define APMU_AXICLK_EN (1 << 3)
  13. #define APMU_FNRST_DIS (1 << 1)
  14. #define APMU_AXIRST_DIS (1 << 0)
  15. /* Wake Clear Register */
  16. #define APMU_WAKE_CLR APMU_REG(0x07c)
  17. #define APMU_PXA168_KP_WAKE_CLR (1 << 7)
  18. #define APMU_PXA168_CFI_WAKE_CLR (1 << 6)
  19. #define APMU_PXA168_XD_WAKE_CLR (1 << 5)
  20. #define APMU_PXA168_MSP_WAKE_CLR (1 << 4)
  21. #define APMU_PXA168_SD4_WAKE_CLR (1 << 3)
  22. #define APMU_PXA168_SD3_WAKE_CLR (1 << 2)
  23. #define APMU_PXA168_SD2_WAKE_CLR (1 << 1)
  24. #define APMU_PXA168_SD1_WAKE_CLR (1 << 0)
  25. #endif /* __ASM_MACH_REGS_APMU_H */