Tim Wawrzynczak | f61011a | 2020-11-20 15:36:22 -0700 | [diff] [blame] | 1 | /* SPDX-License-Identifier: GPL-2.0-or-later */ |
| 2 | |
| 3 | #include <acpi/acpi.h> |
Eric Lai | 78b6a1b | 2020-11-27 14:11:59 +0800 | [diff] [blame] | 4 | #include <variant/ec.h> |
Tim Wawrzynczak | f61011a | 2020-11-20 15:36:22 -0700 | [diff] [blame] | 5 | |
| 6 | DefinitionBlock( |
| 7 | "dsdt.aml", |
| 8 | "DSDT", |
| 9 | ACPI_DSDT_REV_2, |
| 10 | OEM_ID, |
| 11 | ACPI_TABLE_CREATOR, |
| 12 | 0x20110725 // OEM revision |
| 13 | ) |
| 14 | { |
Kyösti Mälkki | cf246d5 | 2021-01-21 08:17:00 +0200 | [diff] [blame] | 15 | #include <acpi/dsdt_top.asl> |
Eric Lai | bca5bdb | 2020-11-26 14:20:48 +0800 | [diff] [blame] | 16 | #include <soc/intel/common/acpi/platform.asl> |
| 17 | |
| 18 | /* global NVS and variables */ |
| 19 | #include <soc/intel/common/block/acpi/acpi/globalnvs.asl> |
| 20 | |
| 21 | /* CPU */ |
| 22 | #include <cpu/intel/common/acpi/cpu.asl> |
| 23 | |
| 24 | Scope (\_SB) { |
Tim Wawrzynczak | 914ea8e | 2021-02-18 09:40:15 -0700 | [diff] [blame] | 25 | #include "mainboard.asl" |
Eric Lai | fdf4d87 | 2021-09-14 12:13:46 +0800 | [diff] [blame] | 26 | #if CONFIG(HAVE_WWAN_POWER_SEQUENCE) |
| 27 | #include "wwan_power.asl" |
| 28 | #endif |
Eric Lai | bca5bdb | 2020-11-26 14:20:48 +0800 | [diff] [blame] | 29 | Device (PCI0) |
| 30 | { |
| 31 | #include <soc/intel/common/block/acpi/acpi/northbridge.asl> |
| 32 | #include <soc/intel/alderlake/acpi/southbridge.asl> |
Tim Wawrzynczak | ba2e51b | 2021-03-03 15:22:00 -0700 | [diff] [blame] | 33 | #include <soc/intel/alderlake/acpi/tcss.asl> |
Eric Lai | bca5bdb | 2020-11-26 14:20:48 +0800 | [diff] [blame] | 34 | } |
| 35 | } |
| 36 | |
| 37 | /* Chipset specific sleep states */ |
| 38 | #include <southbridge/intel/common/acpi/sleepstates.asl> |
Eric Lai | b052c4b | 2020-11-27 13:50:02 +0800 | [diff] [blame] | 39 | |
Eric Lai | 78b6a1b | 2020-11-27 14:11:59 +0800 | [diff] [blame] | 40 | /* Chrome OS Embedded Controller */ |
| 41 | Scope (\_SB.PCI0.LPCB) |
| 42 | { |
| 43 | /* ACPI code for EC SuperIO functions */ |
| 44 | #include <ec/google/chromeec/acpi/superio.asl> |
| 45 | /* ACPI code for EC functions */ |
| 46 | #include <ec/google/chromeec/acpi/ec.asl> |
| 47 | } |
Tim Wawrzynczak | f61011a | 2020-11-20 15:36:22 -0700 | [diff] [blame] | 48 | } |