soc/intel/common/block/acpi: Factor out common platform.asl
[coreboot.git] / src / mainboard / google / hatch / dsdt.asl
blob3ca98ab028216e8b626a7a78298bfe0f5e8152cf
1 /* SPDX-License-Identifier: GPL-2.0-only */
3 #include <acpi/acpi.h>
4 #include <variant/ec.h>
5 #include <variant/gpio.h>
7 DefinitionBlock(
8         "dsdt.aml",
9         "DSDT",
10         0x02,           /* DSDT revision: ACPI v2.0 and up */
11         OEM_ID,
12         ACPI_TABLE_CREATOR,
13         0x20110725      /* OEM revision */
16         #include <soc/intel/common/block/acpi/acpi/platform.asl>
18         /* global NVS and variables */
19         #include <soc/intel/common/block/acpi/acpi/globalnvs.asl>
21         /* CPU */
22         #include <cpu/intel/common/acpi/cpu.asl>
24         Scope (\_SB) {
25                 Device (PCI0)
26                 {
27                         #include <soc/intel/common/block/acpi/acpi/northbridge.asl>
28                         #include <soc/intel/cannonlake/acpi/southbridge.asl>
29                 }
30         }
32 #if CONFIG(CHROMEOS)
33         /* Chrome OS specific */
34         #include <vendorcode/google/chromeos/acpi/chromeos.asl>
35 #endif
37         #include <southbridge/intel/common/acpi/sleepstates.asl>
39         /* Low power idle table */
40         #include <soc/intel/common/acpi/lpit.asl>
42         /* Chrome OS Embedded Controller */
43         Scope (\_SB.PCI0.LPCB)
44         {
45                 /* ACPI code for EC SuperIO functions */
46                 #include <ec/google/chromeec/acpi/superio.asl>
47                 /* ACPI code for EC functions */
48                 #include <ec/google/chromeec/acpi/ec.asl>
49         }
51 #if CONFIG(BOARD_GOOGLE_BASEBOARD_HATCH)
52         /* Dynamic Platform Thermal Framework */
53         Scope (\_SB)
54         {
55                 /* Per board variant specific definitions. */
56                 #include <variant/acpi/dptf.asl>
57                 /* Include common dptf ASL files */
58                 #include <soc/intel/common/acpi/dptf/dptf.asl>
59         }
60 #endif