Commit | Line | Data |
---|---|---|
49cbe786 | 1 | /* |
49cbe786 EM |
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 | ||
9 | #ifndef __ASM_MACH_REGS_APMU_H | |
10 | #define __ASM_MACH_REGS_APMU_H | |
11 | ||
b501fd7b | 12 | #include "addr-map.h" |
49cbe786 | 13 | |
49cbe786 EM |
14 | #define APMU_FNCLK_EN (1 << 4) |
15 | #define APMU_AXICLK_EN (1 << 3) | |
16 | #define APMU_FNRST_DIS (1 << 1) | |
17 | #define APMU_AXIRST_DIS (1 << 0) | |
18 | ||
2ce43890 MB |
19 | /* Wake Clear Register */ |
20 | #define APMU_WAKE_CLR APMU_REG(0x07c) | |
21 | ||
22 | #define APMU_PXA168_KP_WAKE_CLR (1 << 7) | |
23 | #define APMU_PXA168_CFI_WAKE_CLR (1 << 6) | |
24 | #define APMU_PXA168_XD_WAKE_CLR (1 << 5) | |
25 | #define APMU_PXA168_MSP_WAKE_CLR (1 << 4) | |
26 | #define APMU_PXA168_SD4_WAKE_CLR (1 << 3) | |
27 | #define APMU_PXA168_SD3_WAKE_CLR (1 << 2) | |
28 | #define APMU_PXA168_SD2_WAKE_CLR (1 << 1) | |
29 | #define APMU_PXA168_SD1_WAKE_CLR (1 << 0) | |
30 | ||
49cbe786 | 31 | #endif /* __ASM_MACH_REGS_APMU_H */ |