cpu/intel/common: Use a common acpi/cpu.asl file
[coreboot.git] / src / mainboard / google / dragonegg / dsdt.asl
blob2e9ce6382d3798cf4ee8abf1c00043884e2e6645
1 /*
2  * This file is part of the coreboot project.
3  *
4  * Copyright (C) 2018 Intel Corporation
5  *
6  * This program is free software; you can redistribute it and/or modify
7  * it under the terms of the GNU General Public License as published by
8  * the Free Software Foundation; version 2 of the License.
9  *
10  * This program is distributed in the hope that it will be useful,
11  * but WITHOUT ANY WARRANTY; without even the implied warranty of
12  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
13  * GNU General Public License for more details.
14  */
16 #include <arch/acpi.h>
17 #include "variant/ec.h"
18 #include "variant/gpio.h"
20 DefinitionBlock(
21         "dsdt.aml",
22         "DSDT",
23         0x02,           // DSDT revision
24         OEM_ID,
25         ACPI_TABLE_CREATOR,
26         0x20110725      // OEM revision
29         // Some generic macros
30         #include <soc/intel/icelake/acpi/platform.asl>
32         // global NVS and variables
33         #include <soc/intel/icelake/acpi/globalnvs.asl>
35         // CPU
36         #include <cpu/intel/common/acpi/cpu.asl>
38         Scope (\_SB) {
39                 Device (PCI0)
40                 {
41                         #include <soc/intel/icelake/acpi/northbridge.asl>
42                         #include <soc/intel/icelake/acpi/southbridge.asl>
43                 }
44         }
46 #if IS_ENABLED(CONFIG_CHROMEOS)
47         // Chrome OS specific
48         #include <vendorcode/google/chromeos/acpi/chromeos.asl>
49 #endif
51         // Chipset specific sleep states
52         #include <soc/intel/icelake/acpi/sleepstates.asl>
54         /* Chrome OS Embedded Controller */
55         Scope (\_SB.PCI0.LPCB)
56         {
57                 /* ACPI code for EC SuperIO functions */
58                 #include <ec/google/chromeec/acpi/superio.asl>
59                 /* ACPI code for EC functions */
60                 #include <ec/google/chromeec/acpi/ec.asl>
61         }