Subrata Banik | ed74337 | 2022-03-21 22:08:37 +0000 | [diff] [blame] | 1 | /* SPDX-License-Identifier: GPL-2.0-or-later */ |
| 2 | |
| 3 | #include <acpi/acpi.h> |
Eric Lai | 7c304f8 | 2022-05-24 10:01:49 +0800 | [diff] [blame] | 4 | #include <variant/ec.h> |
Subrata Banik | ed74337 | 2022-03-21 22:08:37 +0000 | [diff] [blame] | 5 | |
| 6 | DefinitionBlock( |
| 7 | "dsdt.aml", |
| 8 | "DSDT", |
| 9 | ACPI_DSDT_REV_2, |
| 10 | OEM_ID, |
| 11 | ACPI_TABLE_CREATOR, |
Angel Pons | 621aff9 | 2022-08-14 12:35:22 +0200 | [diff] [blame] | 12 | 0x20110725 |
Subrata Banik | ed74337 | 2022-03-21 22:08:37 +0000 | [diff] [blame] | 13 | ) |
| 14 | { |
Eric Lai | 7a294be | 2022-05-24 09:08:48 +0800 | [diff] [blame] | 15 | #include <acpi/dsdt_top.asl> |
| 16 | #include <soc/intel/common/acpi/platform.asl> |
Eric Lai | 7a294be | 2022-05-24 09:08:48 +0800 | [diff] [blame] | 17 | #include <soc/intel/common/block/acpi/acpi/globalnvs.asl> |
Eric Lai | 7a294be | 2022-05-24 09:08:48 +0800 | [diff] [blame] | 18 | #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 Banik | a920772 | 2022-08-08 15:06:04 +0000 | [diff] [blame] | 25 | #include <soc/intel/meteorlake/acpi/tcss.asl> |
Eric Lai | 7a294be | 2022-05-24 09:08:48 +0800 | [diff] [blame] | 26 | } |
| 27 | } |
| 28 | |
| 29 | /* Chipset specific sleep states */ |
| 30 | #include <southbridge/intel/common/acpi/sleepstates.asl> |
Eric Lai | 7c304f8 | 2022-05-24 10:01:49 +0800 | [diff] [blame] | 31 | |
| 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 Mitrani | 113a1bb | 2023-05-02 14:27:11 -0700 | [diff] [blame] | 40 | /* Mainboard specific */ |
Eran Mitrani | 6b5e75d | 2023-08-16 15:21:32 -0700 | [diff] [blame] | 41 | #if CONFIG(BOARD_GOOGLE_MODEL_REX) |
Eran Mitrani | 113a1bb | 2023-05-02 14:27:11 -0700 | [diff] [blame] | 42 | Scope (\_SB.PCI0.SPI0) |
| 43 | { |
| 44 | #include <variant/acpi/hid_spi_elan.asl> |
| 45 | } |
| 46 | #endif |
Subrata Banik | ed74337 | 2022-03-21 22:08:37 +0000 | [diff] [blame] | 47 | } |