xref: /aosp_15_r20/external/coreboot/src/mainboard/inventec/transformers/acpi/platform.asl (revision b9411a12aaaa7e1e6a6fb7c5e057f44ee179a49c)
1/* SPDX-License-Identifier: GPL-2.0-only */
2
3/* Enable ACPI _SWS methods */
4#include <soc/intel/common/acpi/acpi_wake_source.asl>
5#include <southbridge/intel/common/acpi/sleepstates.asl>
6
7/* The APM port can be used for generating software SMIs */
8OperationRegion (APMP, SystemIO, 0xb2, 2)
9Field (APMP, ByteAcc, NoLock, Preserve)
10{
11	APMC, 8,	// APM command
12	APMS, 8		// APM status
13}
14
15/* Port 80 POST */
16OperationRegion (DBG0, SystemIO, 0x80, 0x02)
17Field (DBG0, ByteAcc, Lock, Preserve)
18{
19	IO80, 8,
20	IO81, 8
21}
22
23/*
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
26 */
27
28Method (_PTS, 1)
29{
30}
31
32/* The _WAK method is called on system wakeup */
33
34Method (_WAK, 1)
35{
36	Return (Package (){ 0, 0 })
37}
38