include/pci_def.h: Add some PCI Power Management CSR bits

Signed-off-by: Tim Wawrzynczak <twawrzynczak@chromium.org>
Change-Id: I84c8470764a4e6e09220044966111ffe72078099
Reviewed-on: https://review.coreboot.org/c/coreboot/+/55674
Reviewed-by: Subrata Banik <subrata.banik@intel.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
Tim Wawrzynczak 2021-06-18 12:40:38 -06:00 committed by Patrick Georgi
parent e380a43803
commit 8a6907c592
1 changed files with 4 additions and 0 deletions

View File

@ -233,6 +233,10 @@
#define PCI_PM_CAP_PME 0x0800 /* PME pin supported */
#define PCI_PM_CTRL 4 /* PM control and status register */
#define PCI_PM_CTRL_STATE_MASK 0x0003 /* Current power state (D0 to D3) */
#define PCI_PM_CTRL_POWER_STATE_D0 0x0
#define PCI_PM_CTRL_POWER_STATE_D1 0x1
#define PCI_PM_CTRL_POWER_STATE_D2 0x2
#define PCI_PM_CTRL_POWER_STATE_D3HOT 0x3
#define PCI_PM_CTRL_PME_ENABLE 0x0100 /* PME pin enable */
#define PCI_PM_CTRL_DATA_SEL_MASK 0x1e00 /* Data select (??) */
#define PCI_PM_CTRL_DATA_SCALE_MASK 0x6000 /* Data scale (??) */