Eric Miao | 49cbe78 | 2009-01-20 14:15:18 +0800 | [diff] [blame] | 1 | /* |
Eric Miao | 49cbe78 | 2009-01-20 14:15:18 +0800 | [diff] [blame] | 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 | |
Arnd Bergmann | b501fd7 | 2014-04-15 20:38:32 +0200 | [diff] [blame] | 12 | #include "addr-map.h" |
Eric Miao | 49cbe78 | 2009-01-20 14:15:18 +0800 | [diff] [blame] | 13 | |
Eric Miao | 49cbe78 | 2009-01-20 14:15:18 +0800 | [diff] [blame] | 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 | |
Mark F. Brown | 2ce4389 | 2010-09-03 18:28:08 -0400 | [diff] [blame] | 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 | |
Eric Miao | 49cbe78 | 2009-01-20 14:15:18 +0800 | [diff] [blame] | 31 | #endif /* __ASM_MACH_REGS_APMU_H */ |