regs-apmu.h 754 B

12345678910111213141516171819202122232425262728
  1. /* SPDX-License-Identifier: GPL-2.0-only */
  2. /*
  3. * Application Subsystem Power Management Unit
  4. */
  5. #ifndef __ASM_MACH_REGS_APMU_H
  6. #define __ASM_MACH_REGS_APMU_H
  7. #include "addr-map.h"
  8. #define APMU_FNCLK_EN (1 << 4)
  9. #define APMU_AXICLK_EN (1 << 3)
  10. #define APMU_FNRST_DIS (1 << 1)
  11. #define APMU_AXIRST_DIS (1 << 0)
  12. /* Wake Clear Register */
  13. #define APMU_WAKE_CLR APMU_REG(0x07c)
  14. #define APMU_PXA168_KP_WAKE_CLR (1 << 7)
  15. #define APMU_PXA168_CFI_WAKE_CLR (1 << 6)
  16. #define APMU_PXA168_XD_WAKE_CLR (1 << 5)
  17. #define APMU_PXA168_MSP_WAKE_CLR (1 << 4)
  18. #define APMU_PXA168_SD4_WAKE_CLR (1 << 3)
  19. #define APMU_PXA168_SD3_WAKE_CLR (1 << 2)
  20. #define APMU_PXA168_SD2_WAKE_CLR (1 << 1)
  21. #define APMU_PXA168_SD1_WAKE_CLR (1 << 0)
  22. #endif /* __ASM_MACH_REGS_APMU_H */