1 /* SPDX-License-Identifier: GPL-2.0-only */
3 /* Enable ACPI _SWS methods */
4 #include <soc/intel/common/acpi/acpi_wake_source.asl>
5 #include <southbridge/intel/common/acpi/sleepstates.asl>
7 /* The APM port can be used for generating software SMIs */
8 OperationRegion (APMP, SystemIO, 0xb2, 2)
9 Field (APMP, ByteAcc, NoLock, Preserve)
11 APMC, 8, // APM command
16 OperationRegion (DBG0, SystemIO, 0x80, 0x02)
17 Field (DBG0, ByteAcc, Lock, Preserve)
24 * The _PTS method (Prepare To Sleep) is called before the OS is
25 * entering a sleep state. The sleep state number is passed in Arg0
32 /* The _WAK method is called on system wakeup */
36 Return (Package (){ 0, 0 })