| 1 |
|
| 2 |
|
| 3 |
#ifndef SOC_INTEL_COMMON_BLOCK_PCR_GPMR_H |
| 4 |
#define SOC_INTEL_COMMON_BLOCK_PCR_GPMR_H |
| 5 |
|
| 6 |
#if CONFIG(USE_SOC_GPMR_DEFS) |
| 7 |
#include <soc/pcr_gpmr.h> |
| 8 |
#else |
| 9 |
|
| 10 |
#define GPMR_LPCLGIR1 0x2730 |
| 11 |
#define GPMR_DMICTL 0x2234 |
| 12 |
#define GPMR_DMICTL_SRLOCK (1 << 31) |
| 13 |
#define GPMR_LPCGMR 0x2740 |
| 14 |
#define GPMR_GCS 0x274c |
| 15 |
#define GPMR_GCS_BILD (1 << 0) |
| 16 |
#define GPMR_LPCIOD 0x2770 |
| 17 |
#define GPMR_LPCIOE 0x2774 |
| 18 |
#define GPMR_TCOBASE 0x2778 |
| 19 |
#define GPMR_TCOEN (1 << 1) |
| 20 |
|
| 21 |
#define MAX_GPMR_REGS 3 |
| 22 |
|
| 23 |
#define GPMR_OFFSET(x) (0x277c + (x) * 8) |
| 24 |
#define GPMR_LIMIT_MASK 0xffff0000 |
| 25 |
#define GPMR_BASE_SHIFT 16 |
| 26 |
#define GPMR_BASE_MASK 0xffff |
| 27 |
|
| 28 |
#define GPMR_DID_OFFSET(x) (0x2780 + (x) * 8) |
| 29 |
#define GPMR_EN BIT(31) |
| 30 |
|
| 31 |
#endif |
| 32 |
|
| 33 |
#endif |