aboutsummaryrefslogtreecommitdiff
path: root/src/soc/intel/apollolake/include/soc/pm.h
blob: 286406bc10786daf1dd3b5beefe8cdfbbdc8b1e2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
/*
 * This file is part of the coreboot project.
 *
 * Copyright (C) 2016 Intel Corp.
 * (Written by Lance Zhao <lijian.zhao@intel.com> for Intel Corp.)
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation; either version 2 of the License, or
 * (at your option) any later version.
 */

#ifndef _SOC_APOLLOLAKE_PM_H_
#define _SOC_APOLLOLAKE_PM_H_

/* ACPI_BASE_ADDRESS / PMBASE */

#define PM1_STS			0x00
#define PM1_EN			0x02
#define PM1_CNT			0x04
#define PM1_TMR			0x08
#define SMI_EN			0x40
#define SMI_STS			0x44
#define GPE_CNTL		0x50
#define DEVACT_STS		0x4c

#define GPE0_REG_MAX		4
#define GPE0_STS(x)		(0x20 + (x * 4))
#define GPE0_EN(x)		(0x30 + (x * 4))

#endif	/* _SOC_APOLLOLAKE_PM_H_ */