Shelley Chen | 9b230ae | 2023-09-15 16:01:31 -0700 | [diff] [blame^] | 1 | /* SPDX-License-Identifier: GPL-2.0-or-later */ |
| 2 | |
| 3 | #include <acpi/acpi.h> |
| 4 | #include <variant/ec.h> |
| 5 | |
| 6 | DefinitionBlock( |
| 7 | "dsdt.aml", |
| 8 | "DSDT", |
| 9 | ACPI_DSDT_REV_2, |
| 10 | OEM_ID, |
| 11 | ACPI_TABLE_CREATOR, |
| 12 | 0x20110725 |
| 13 | ) |
| 14 | { |
| 15 | #include <acpi/dsdt_top.asl> |
| 16 | #include <cpu/intel/common/acpi/cpu.asl> |
| 17 | #include <soc/intel/common/acpi/platform.asl> |
| 18 | #include <soc/intel/common/block/acpi/acpi/globalnvs.asl> |
| 19 | |
| 20 | Scope (\_SB) { |
| 21 | #if CONFIG(HAVE_WWAN_POWER_SEQUENCE) |
| 22 | #include "wwan_power.asl" |
| 23 | #endif |
| 24 | Device (PCI0) |
| 25 | { |
| 26 | #include <soc/intel/common/block/acpi/acpi/northbridge.asl> |
| 27 | #include <soc/intel/alderlake/acpi/southbridge.asl> |
| 28 | #include <soc/intel/alderlake/acpi/tcss.asl> |
| 29 | } |
| 30 | } |
| 31 | |
| 32 | /* Chipset specific sleep states */ |
| 33 | #include <southbridge/intel/common/acpi/sleepstates.asl> |
| 34 | |
| 35 | /* ChromeOS Embedded Controller */ |
| 36 | Scope (\_SB.PCI0.LPCB) |
| 37 | { |
| 38 | /* ACPI code for EC SuperIO functions */ |
| 39 | #include <ec/google/chromeec/acpi/superio.asl> |
| 40 | /* ACPI code for EC functions */ |
| 41 | #include <ec/google/chromeec/acpi/ec.asl> |
| 42 | } |
| 43 | |
| 44 | #if CONFIG(INCLUDE_NVIDIA_GPU_ASL) |
| 45 | #include "acpi/gpu_top.asl" |
| 46 | #endif |
| 47 | } |