2020-04-03 01:21:01 +02:00
|
|
|
/* SPDX-License-Identifier: GPL-2.0-only */
|
2016-09-21 04:36:08 +02:00
|
|
|
|
2018-12-04 19:05:10 +01:00
|
|
|
#define MAINBOARD_HAS_SPEAKER 1
|
|
|
|
|
2016-09-21 04:36:08 +02:00
|
|
|
/* DefinitionBlock Statement */
|
2020-05-02 19:24:23 +02:00
|
|
|
#include <acpi/acpi.h>
|
2016-09-21 04:36:08 +02:00
|
|
|
DefinitionBlock (
|
2020-10-01 17:03:55 +02:00
|
|
|
"dsdt.aml",
|
2020-10-01 17:11:56 +02:00
|
|
|
"DSDT",
|
2020-10-05 16:38:53 +02:00
|
|
|
ACPI_DSDT_REV_2,
|
2018-11-22 11:15:29 +01:00
|
|
|
OEM_ID,
|
|
|
|
ACPI_TABLE_CREATOR,
|
2016-09-21 04:36:08 +02:00
|
|
|
0x00010001 /* OEM Revision */
|
|
|
|
)
|
|
|
|
{ /* Start of ASL file */
|
|
|
|
|
2017-11-11 00:48:45 +01:00
|
|
|
/* global NVS and variables */
|
|
|
|
#include <globalnvs.asl>
|
|
|
|
|
2016-09-21 04:36:08 +02:00
|
|
|
/* Globals for the platform */
|
|
|
|
#include "acpi/mainboard.asl"
|
|
|
|
|
|
|
|
/* Describe the USB Overcurrent pins */
|
|
|
|
#include "acpi/usb_oc.asl"
|
|
|
|
|
|
|
|
/* PCI IRQ mapping for the Southbridge */
|
2017-05-06 00:15:31 +02:00
|
|
|
#include <pcie.asl>
|
2016-09-21 04:36:08 +02:00
|
|
|
|
2020-03-20 13:56:46 +01:00
|
|
|
/* Describe the processor tree (\_SB) */
|
2017-05-06 00:15:31 +02:00
|
|
|
#include <cpu.asl>
|
2016-09-21 04:36:08 +02:00
|
|
|
|
|
|
|
/* Contains the supported sleep states for this chipset */
|
2017-05-06 00:15:31 +02:00
|
|
|
#include <sleepstates.asl>
|
2016-09-21 04:36:08 +02:00
|
|
|
|
|
|
|
/* Contains the Sleep methods (WAK, PTS, GTS, etc.) */
|
|
|
|
#include "acpi/sleep.asl"
|
|
|
|
|
|
|
|
/* System Bus */
|
|
|
|
Scope(\_SB) { /* Start \_SB scope */
|
2017-05-06 00:15:31 +02:00
|
|
|
/* global utility methods expected within the \_SB scope */
|
2016-09-21 04:36:08 +02:00
|
|
|
#include <arch/x86/acpi/globutil.asl>
|
|
|
|
|
2017-06-23 20:02:23 +02:00
|
|
|
/* IRQ Routing mapping for this platform (in \_SB scope) */
|
2016-09-21 04:36:08 +02:00
|
|
|
#include "acpi/routing.asl"
|
|
|
|
|
|
|
|
Device(PWRB) {
|
|
|
|
Name(_HID, EISAID("PNP0C0C"))
|
|
|
|
Name(_UID, 0xAA)
|
|
|
|
Name(_PRW, Package () {3, 0x04})
|
|
|
|
Name(_STA, 0x0B)
|
|
|
|
}
|
|
|
|
|
2017-11-20 20:30:32 +01:00
|
|
|
/* Describe the SOC */
|
|
|
|
#include <soc.asl>
|
2016-09-21 04:36:08 +02:00
|
|
|
|
|
|
|
} /* End \_SB scope */
|
|
|
|
|
|
|
|
/* Define the General Purpose Events for the platform */
|
|
|
|
#include "acpi/gpe.asl"
|
|
|
|
}
|
|
|
|
/* End of ASL file */
|