| 1 |
/* SPDX-License-Identifier: GPL-2.0-only */ |
| 2 |
|
| 3 |
Device (PMC) |
| 4 |
{ |
| 5 |
Name (_ADR, 0x001f0002) |
| 6 |
Name (_DDN, "Power Management Controller") |
| 7 |
|
| 8 |
OperationRegion (PMCP, PCI_Config, 0x00, 0x100) |
| 9 |
Field (PMCP, AnyAcc, NoLock, Preserve) |
| 10 |
{ |
| 11 |
Offset (0x48), |
| 12 |
, 12, |
| 13 |
PWRM, 20, /* PWRMBASE */ |
| 14 |
} |
| 15 |
|
| 16 |
OperationRegion (PMCM, SystemMemory, PWRM << 12, 0x3f) |
| 17 |
Field (PMCM, DWordAcc, NoLock, Preserve) |
| 18 |
{ |
| 19 |
Offset (0x1c), /* PCH_PM_STS */ |
| 20 |
, 24, |
| 21 |
PMFS, 1, /* PMC_MSG_FULL_STS */ |
| 22 |
Offset (0x20), |
| 23 |
MPMC, 32, /* MTPMC */ |
| 24 |
Offset (0x24), /* PCH_PM_STS2 */ |
| 25 |
, 20, |
| 26 |
UWAB, 1, /* USB2 Workaround Available */ |
| 27 |
} |
| 28 |
} |