USB: serial: option: reimplement interface masking
[linux/fpc-iii.git] / arch / arm / mach-mmp / regs-apmu.h
blob23f6209b65aa9dd312f1d038ee0d22df0792478d
1 /*
2 * Application Subsystem Power Management Unit
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 */
9 #ifndef __ASM_MACH_REGS_APMU_H
10 #define __ASM_MACH_REGS_APMU_H
12 #include "addr-map.h"
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)
19 /* Wake Clear Register */
20 #define APMU_WAKE_CLR APMU_REG(0x07c)
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)
31 #endif /* __ASM_MACH_REGS_APMU_H */