blob: 345b733e5395fde5500ce2de497e2c068943b256 [file] [log] [blame]
Angel Pons08b52802020-04-05 13:22:20 +02001/* SPDX-License-Identifier: GPL-2.0-only */
Hannah Williams5e83e8b2018-02-09 18:35:17 -08002
3#include <variant/ec.h>
4#include <variant/gpio.h>
5
Furquan Shaikh76cedd22020-05-02 10:24:23 -07006#include <acpi/acpi.h>
Hannah Williams5e83e8b2018-02-09 18:35:17 -08007DefinitionBlock(
8 "dsdt.aml",
9 "DSDT",
Elyes HAOUAS90d00de2020-10-05 16:38:53 +020010 ACPI_DSDT_REV_2,
Elyes HAOUAS6d19a202018-11-22 11:15:29 +010011 OEM_ID,
12 ACPI_TABLE_CREATOR,
Angel Pons621aff92022-08-14 12:35:22 +020013 0x20110725
Hannah Williams5e83e8b2018-02-09 18:35:17 -080014)
15{
Kyösti Mälkkicf246d52021-01-21 08:17:00 +020016 #include <acpi/dsdt_top.asl>
Hannah Williams5e83e8b2018-02-09 18:35:17 -080017 #include <soc/intel/apollolake/acpi/globalnvs.asl>
Arthur Heymansaaced4a2018-11-28 13:53:15 +010018 #include <cpu/intel/common/acpi/cpu.asl>
Hannah Williams5e83e8b2018-02-09 18:35:17 -080019
20 Scope (\_SB) {
21 Device (PCI0)
22 {
23 #include <soc/intel/apollolake/acpi/northbridge.asl>
24 #include <soc/intel/apollolake/acpi/southbridge.asl>
25 #include <soc/intel/apollolake/acpi/pch_hda.asl>
Matt DeVillier2c6a7252020-04-21 01:20:29 -050026 #include <drivers/intel/gma/acpi/default_brightness_levels.asl>
Hannah Williams5e83e8b2018-02-09 18:35:17 -080027 }
28 }
29
Subrata Banik2715cdb2019-10-30 16:48:19 +053030 #include <southbridge/intel/common/acpi/sleepstates.asl>
Hannah Williams5e83e8b2018-02-09 18:35:17 -080031
Jon Murphyc4e90452022-06-28 10:36:23 -060032 /* ChromeOS Embedded Controller */
Hannah Williams5e83e8b2018-02-09 18:35:17 -080033 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 }
Sumeet Pawnikare37387c2018-04-25 00:53:00 +053040
41 /* Dynamic Platform Thermal Framework */
42 Scope (\_SB)
43 {
44 /* Per board variant specific definitions. */
45 #include <variant/acpi/dptf.asl>
46 /* Include soc specific DPTF changes */
47 #include <soc/intel/apollolake/acpi/dptf.asl>
48 /* Include common dptf ASL files */
49 #include <soc/intel/common/acpi/dptf/dptf.asl>
50 }
Hannah Williams5e83e8b2018-02-09 18:35:17 -080051}