blob: 84c09e1ba48304fe9efeaec27122936cfe47271f [file] [log] [blame]
Subrata Baniked743372022-03-21 22:08:37 +00001/* SPDX-License-Identifier: GPL-2.0-or-later */
2
3#include <acpi/acpi.h>
Eric Lai7c304f82022-05-24 10:01:49 +08004#include <variant/ec.h>
Subrata Baniked743372022-03-21 22:08:37 +00005
6DefinitionBlock(
7 "dsdt.aml",
8 "DSDT",
9 ACPI_DSDT_REV_2,
10 OEM_ID,
11 ACPI_TABLE_CREATOR,
Angel Pons621aff92022-08-14 12:35:22 +020012 0x20110725
Subrata Baniked743372022-03-21 22:08:37 +000013)
14{
Eric Lai7a294be2022-05-24 09:08:48 +080015 #include <acpi/dsdt_top.asl>
16 #include <soc/intel/common/acpi/platform.asl>
Eric Lai7a294be2022-05-24 09:08:48 +080017 #include <soc/intel/common/block/acpi/acpi/globalnvs.asl>
Eric Lai7a294be2022-05-24 09:08:48 +080018 #include <cpu/intel/common/acpi/cpu.asl>
19
20 Scope (\_SB) {
21 Device (PCI0)
22 {
23 #include <soc/intel/common/block/acpi/acpi/northbridge.asl>
24 #include <soc/intel/meteorlake/acpi/southbridge.asl>
Subrata Banika9207722022-08-08 15:06:04 +000025 #include <soc/intel/meteorlake/acpi/tcss.asl>
Eric Lai7a294be2022-05-24 09:08:48 +080026 }
27 }
28
29 /* Chipset specific sleep states */
30 #include <southbridge/intel/common/acpi/sleepstates.asl>
Eric Lai7c304f82022-05-24 10:01:49 +080031
32 /* Chrome OS Embedded Controller */
33 Scope (\_SB.PCI0.LPCB)
34 {
35 /* ACPI code for EC SuperIO functions */
36 #include <ec/google/chromeec/acpi/superio.asl>
37 /* ACPI code for EC functions */
38 #include <ec/google/chromeec/acpi/ec.asl>
39 }
Eran Mitrani113a1bb2023-05-02 14:27:11 -070040 /* Mainboard specific */
Eran Mitrani6b5e75d2023-08-16 15:21:32 -070041#if CONFIG(BOARD_GOOGLE_MODEL_REX)
Eran Mitrani113a1bb2023-05-02 14:27:11 -070042 Scope (\_SB.PCI0.SPI0)
43 {
44 #include <variant/acpi/hid_spi_elan.asl>
45 }
46#endif
Subrata Baniked743372022-03-21 22:08:37 +000047}