blob: 2e9ce6382d3798cf4ee8abf1c00043884e2e6645 [file] [log] [blame]
Aamir Bohra3a143382018-07-11 12:07:51 +05301/*
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 */
15
16#include <arch/acpi.h>
17#include "variant/ec.h"
18#include "variant/gpio.h"
19
20DefinitionBlock(
21 "dsdt.aml",
22 "DSDT",
23 0x02, // DSDT revision
24 OEM_ID,
25 ACPI_TABLE_CREATOR,
26 0x20110725 // OEM revision
27)
28{
29 // Some generic macros
30 #include <soc/intel/icelake/acpi/platform.asl>
31
32 // global NVS and variables
33 #include <soc/intel/icelake/acpi/globalnvs.asl>
34
35 // CPU
Arthur Heymansaaced4a2018-11-28 13:53:15 +010036 #include <cpu/intel/common/acpi/cpu.asl>
Aamir Bohra3a143382018-07-11 12:07:51 +053037
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 }
45
46#if IS_ENABLED(CONFIG_CHROMEOS)
47 // Chrome OS specific
48 #include <vendorcode/google/chromeos/acpi/chromeos.asl>
49#endif
50
51 // Chipset specific sleep states
52 #include <soc/intel/icelake/acpi/sleepstates.asl>
53
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 }
62}