blob: 23f6209b65aa9dd312f1d038ee0d22df0792478d [file] [log] [blame]
Eric Miao49cbe782009-01-20 14:15:18 +08001/*
Eric Miao49cbe782009-01-20 14:15:18 +08002 * 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 Bergmannb501fd72014-04-15 20:38:32 +020012#include "addr-map.h"
Eric Miao49cbe782009-01-20 14:15:18 +080013
Eric Miao49cbe782009-01-20 14:15:18 +080014#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. Brown2ce43892010-09-03 18:28:08 -040019/* 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 Miao49cbe782009-01-20 14:15:18 +080031#endif /* __ASM_MACH_REGS_APMU_H */