blob: be817e306c0e07c01815488cf1a78852eb9b10b1 [file] [log] [blame]
Sean Rhodes17441a32021-07-05 16:03:15 +01001/* SPDX-License-Identifier: GPL-2.0-only */
2
Sean Rhodes17441a32021-07-05 16:03:15 +01003#include <acpi/acpi.h>
4DefinitionBlock(
5 "dsdt.aml",
6 "DSDT",
7 ACPI_DSDT_REV_2,
8 OEM_ID,
9 ACPI_TABLE_CREATOR,
Ben-StarLabsb2db3652022-07-12 12:43:27 +010010 0x20220930
Sean Rhodes17441a32021-07-05 16:03:15 +010011)
12{
13 #include <acpi/dsdt_top.asl>
14 #include <soc/intel/common/block/acpi/acpi/platform.asl>
15 #include <soc/intel/common/block/acpi/acpi/globalnvs.asl>
16 #include <cpu/intel/common/acpi/cpu.asl>
17
18 Device (\_SB.PCI0)
19 {
Sean Rhodesab5b7b32021-10-22 14:33:27 +010020#if CONFIG(SOC_INTEL_COMMON_SKYLAKE_BASE)
21 /* Kaby Lake */
22 #include <soc/intel/skylake/acpi/systemagent.asl>
23 #include <soc/intel/skylake/acpi/pch.asl>
24#elif CONFIG(SOC_INTEL_CANNONLAKE_BASE)
Sean Rhodese96ade62021-10-18 21:07:20 +010025 /* Comet Lake */
26 #include <soc/intel/common/block/acpi/acpi/northbridge.asl>
27 #include <soc/intel/cannonlake/acpi/southbridge.asl>
28#elif CONFIG(SOC_INTEL_TIGERLAKE)
Sean Rhodes17441a32021-07-05 16:03:15 +010029 /* Tiger Lake */
30 #include <soc/intel/common/block/acpi/acpi/northbridge.asl>
31 #include <soc/intel/tigerlake/acpi/southbridge.asl>
32 #include <soc/intel/tigerlake/acpi/tcss.asl>
Sean Rhodes11deb822023-04-14 21:25:19 +010033#elif CONFIG(SOC_INTEL_ALDERLAKE) || CONFIG(SOC_INTEL_RAPTORLAKE)
Ben-StarLabsb2db3652022-07-12 12:43:27 +010034 #include <soc/intel/common/block/acpi/acpi/northbridge.asl>
35 #include <soc/intel/alderlake/acpi/southbridge.asl>
Sean Rhodes11deb822023-04-14 21:25:19 +010036 #include <soc/intel/alderlake/acpi/tcss.asl>
37#endif
Sean Rhodes17441a32021-07-05 16:03:15 +010038
Sean Rhodes34b4a2e2023-09-21 11:55:31 +010039 #include <soc/intel/common/block/acpi/acpi/gna.asl>
40
Sean Rhodes17441a32021-07-05 16:03:15 +010041 /* PS/2 Keyboard */
42 #include <drivers/pc80/pc/ps2_controller.asl>
43 }
44
Sean Rhodesdbe39392023-03-28 21:37:46 +000045 #include <southbridge/intel/common/acpi/sleepstates.asl>
46
Sean Rhodes17441a32021-07-05 16:03:15 +010047 /* Star Labs EC */
48 #include <ec/starlabs/merlin/acpi/ec.asl>
49
50 Scope (\_SB)
51 {
52 /* HID Driver */
53 #include <ec/starlabs/merlin/acpi/hid.asl>
54
55 /* Suspend Methods */
56 #include <ec/starlabs/merlin/acpi/suspend.asl>
57 }
58
59 #include "acpi/mainboard.asl"
60}