2020-07-19 14:00:43 +02:00
|
|
|
/* SPDX-License-Identifier: GPL-2.0-or-later */
|
2020-01-29 03:43:28 +01:00
|
|
|
|
2020-05-02 19:24:23 +02:00
|
|
|
#include <acpi/acpi.h>
|
2020-01-29 03:43:28 +01:00
|
|
|
#include "variant/ec.h"
|
|
|
|
#include "variant/gpio.h"
|
|
|
|
|
|
|
|
DefinitionBlock(
|
|
|
|
"dsdt.aml",
|
|
|
|
"DSDT",
|
2020-10-05 16:38:53 +02:00
|
|
|
ACPI_DSDT_REV_2,
|
2020-01-29 03:43:28 +01:00
|
|
|
OEM_ID,
|
|
|
|
ACPI_TABLE_CREATOR,
|
|
|
|
0x20110725 // OEM revision
|
|
|
|
)
|
|
|
|
{
|
2020-10-03 19:37:36 +02:00
|
|
|
#include <soc/intel/common/block/acpi/acpi/platform.asl>
|
2020-01-29 03:43:28 +01:00
|
|
|
|
|
|
|
// global NVS and variables
|
|
|
|
#include <soc/intel/common/block/acpi/acpi/globalnvs.asl>
|
|
|
|
|
|
|
|
// CPU
|
|
|
|
#include <cpu/intel/common/acpi/cpu.asl>
|
|
|
|
|
|
|
|
Scope (\_SB) {
|
|
|
|
Device (PCI0)
|
|
|
|
{
|
|
|
|
#include <soc/intel/common/block/acpi/acpi/northbridge.asl>
|
|
|
|
#include <soc/intel/tigerlake/acpi/southbridge.asl>
|
2020-04-22 18:43:58 +02:00
|
|
|
#include <soc/intel/tigerlake/acpi/tcss.asl>
|
2020-10-03 17:34:04 +02:00
|
|
|
#if CONFIG(VARIANT_HAS_MIPI_CAMERA)
|
|
|
|
#include <soc/intel/common/block/acpi/acpi/ipu.asl>
|
|
|
|
#endif
|
2020-01-29 03:43:28 +01:00
|
|
|
}
|
2020-04-08 01:33:33 +02:00
|
|
|
/* Mainboard hooks */
|
|
|
|
#include "mainboard.asl"
|
2020-01-29 03:43:28 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
// Chrome OS specific
|
|
|
|
#include <vendorcode/google/chromeos/acpi/chromeos.asl>
|
|
|
|
|
|
|
|
// Chrome OS Embedded Controller
|
|
|
|
Scope (\_SB.PCI0.LPCB)
|
|
|
|
{
|
|
|
|
// ACPI code for EC SuperIO functions
|
|
|
|
#include <ec/google/chromeec/acpi/superio.asl>
|
|
|
|
// ACPI code for EC functions
|
|
|
|
#include <ec/google/chromeec/acpi/ec.asl>
|
|
|
|
}
|
|
|
|
|
|
|
|
#include <southbridge/intel/common/acpi/sleepstates.asl>
|
2020-04-21 21:51:37 +02:00
|
|
|
|
|
|
|
#if CONFIG(VARIANT_HAS_MIPI_CAMERA)
|
2020-03-20 00:46:38 +01:00
|
|
|
/* Camera */
|
2020-04-21 21:51:37 +02:00
|
|
|
#include <variant/acpi/mipi_camera.asl>
|
|
|
|
#endif /* VARIANT_HAS_MIPI_CAMERA */
|
2020-01-29 03:43:28 +01:00
|
|
|
}
|