Back to home page

OSCL-LXR

 
 

    


0001 /* SPDX-License-Identifier: GPL-2.0-only */
0002 /*
0003  *   Application Subsystem Power Management Unit
0004  */
0005 
0006 #ifndef __ASM_MACH_REGS_APMU_H
0007 #define __ASM_MACH_REGS_APMU_H
0008 
0009 #include "addr-map.h"
0010 
0011 #define APMU_FNCLK_EN   (1 << 4)
0012 #define APMU_AXICLK_EN  (1 << 3)
0013 #define APMU_FNRST_DIS  (1 << 1)
0014 #define APMU_AXIRST_DIS (1 << 0)
0015 
0016 /* Wake Clear Register */
0017 #define APMU_WAKE_CLR   APMU_REG(0x07c)
0018 
0019 #define APMU_PXA168_KP_WAKE_CLR     (1 << 7)
0020 #define APMU_PXA168_CFI_WAKE_CLR    (1 << 6)
0021 #define APMU_PXA168_XD_WAKE_CLR     (1 << 5)
0022 #define APMU_PXA168_MSP_WAKE_CLR    (1 << 4)
0023 #define APMU_PXA168_SD4_WAKE_CLR    (1 << 3)
0024 #define APMU_PXA168_SD3_WAKE_CLR    (1 << 2)
0025 #define APMU_PXA168_SD2_WAKE_CLR    (1 << 1)
0026 #define APMU_PXA168_SD1_WAKE_CLR    (1 << 0)
0027 
0028 #endif /* __ASM_MACH_REGS_APMU_H */