Angel Pons | 60ec365 | 2020-04-03 01:22:13 +0200 | [diff] [blame] | 1 | /* SPDX-License-Identifier: GPL-2.0-only */ |
Ravi Sarawadi | ebb2d3c | 2019-12-19 23:01:48 -0800 | [diff] [blame] | 2 | |
Furquan Shaikh | 76cedd2 | 2020-05-02 10:24:23 -0700 | [diff] [blame] | 3 | #include <acpi/acpi.h> |
Ravi Sarawadi | ebb2d3c | 2019-12-19 23:01:48 -0800 | [diff] [blame] | 4 | #include <baseboard/ec.h> |
| 5 | #include <baseboard/gpio.h> |
| 6 | |
| 7 | DefinitionBlock( |
| 8 | "dsdt.aml", |
| 9 | "DSDT", |
Elyes HAOUAS | 90d00de | 2020-10-05 16:38:53 +0200 | [diff] [blame] | 10 | ACPI_DSDT_REV_2, |
Ravi Sarawadi | ebb2d3c | 2019-12-19 23:01:48 -0800 | [diff] [blame] | 11 | OEM_ID, |
| 12 | ACPI_TABLE_CREATOR, |
Angel Pons | 621aff9 | 2022-08-14 12:35:22 +0200 | [diff] [blame] | 13 | 0x20110725 |
Ravi Sarawadi | ebb2d3c | 2019-12-19 23:01:48 -0800 | [diff] [blame] | 14 | ) |
| 15 | { |
Kyösti Mälkki | cf246d5 | 2021-01-21 08:17:00 +0200 | [diff] [blame] | 16 | #include <acpi/dsdt_top.asl> |
Subrata Banik | 6577ec4 | 2020-10-03 23:07:36 +0530 | [diff] [blame] | 17 | #include <soc/intel/common/block/acpi/acpi/platform.asl> |
Ravi Sarawadi | ebb2d3c | 2019-12-19 23:01:48 -0800 | [diff] [blame] | 18 | #include <soc/intel/common/block/acpi/acpi/globalnvs.asl> |
Ravi Sarawadi | ebb2d3c | 2019-12-19 23:01:48 -0800 | [diff] [blame] | 19 | #include <cpu/intel/common/acpi/cpu.asl> |
| 20 | |
| 21 | Scope (\_SB) { |
| 22 | Device (PCI0) |
| 23 | { |
| 24 | #include <soc/intel/common/block/acpi/acpi/northbridge.asl> |
| 25 | #include <soc/intel/tigerlake/acpi/southbridge.asl> |
John Zhao | 4e300cc | 2020-04-22 09:23:48 -0700 | [diff] [blame] | 26 | #include <soc/intel/tigerlake/acpi/tcss.asl> |
Subrata Banik | 73968fd | 2020-10-03 21:04:04 +0530 | [diff] [blame] | 27 | #include <soc/intel/common/block/acpi/acpi/ipu.asl> |
Ravi Sarawadi | ebb2d3c | 2019-12-19 23:01:48 -0800 | [diff] [blame] | 28 | } |
| 29 | } |
| 30 | |
Ravi Sarawadi | ebb2d3c | 2019-12-19 23:01:48 -0800 | [diff] [blame] | 31 | #if CONFIG(EC_GOOGLE_CHROMEEC) |
Jon Murphy | c4e9045 | 2022-06-28 10:36:23 -0600 | [diff] [blame] | 32 | /* ChromeOS Embedded Controller */ |
Ravi Sarawadi | ebb2d3c | 2019-12-19 23:01:48 -0800 | [diff] [blame] | 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 | } |
| 40 | #endif |
| 41 | |
Ravi Sarawadi | ebb2d3c | 2019-12-19 23:01:48 -0800 | [diff] [blame] | 42 | #include <southbridge/intel/common/acpi/sleepstates.asl> |
| 43 | |
Wonkyu Kim | f93c157 | 2019-12-19 19:27:34 -0800 | [diff] [blame] | 44 | /* Camera */ |
Wonkyu Kim | f93c157 | 2019-12-19 19:27:34 -0800 | [diff] [blame] | 45 | #include "acpi/mipi_camera.asl" |
Ravi Sarawadi | ebb2d3c | 2019-12-19 23:01:48 -0800 | [diff] [blame] | 46 | } |