summaryrefslogtreecommitdiff
path: root/src/mainboard/starlabs/labtop/dsdt.asl
diff options
context:
space:
mode:
Diffstat (limited to 'src/mainboard/starlabs/labtop/dsdt.asl')
-rw-r--r--src/mainboard/starlabs/labtop/dsdt.asl37
1 files changed, 37 insertions, 0 deletions
diff --git a/src/mainboard/starlabs/labtop/dsdt.asl b/src/mainboard/starlabs/labtop/dsdt.asl
new file mode 100644
index 0000000000..f3492dbfcb
--- /dev/null
+++ b/src/mainboard/starlabs/labtop/dsdt.asl
@@ -0,0 +1,37 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
+#include <acpi/acpi.h>
+DefinitionBlock(
+ "dsdt.aml",
+ "DSDT",
+ ACPI_DSDT_REV_2,
+ OEM_ID,
+ ACPI_TABLE_CREATOR,
+ 0x20110725 // OEM revision
+)
+{
+ #include <acpi/dsdt_top.asl>
+ #include <soc/intel/common/block/acpi/acpi/platform.asl>
+#if CONFIG(BOARD_STARLABS_LABTOP_CML)
+ #include <soc/intel/common/block/acpi/acpi/globalnvs.asl>
+#else
+ #include <soc/intel/skylake/acpi/globalnvs.asl>
+#endif
+ #include <cpu/intel/common/acpi/cpu.asl>
+
+ Device (\_SB.PCI0)
+ {
+#if CONFIG(BOARD_STARLABS_LABTOP_CML)
+ #include <soc/intel/common/block/acpi/acpi/northbridge.asl>
+ #include <soc/intel/cannonlake/acpi/southbridge.asl>
+#else
+ #include <soc/intel/skylake/acpi/systemagent.asl>
+ #include <soc/intel/skylake/acpi/pch.asl>
+#endif
+ #include <drivers/intel/gma/acpi/default_brightness_levels.asl>
+ }
+
+ #include <southbridge/intel/common/acpi/sleepstates.asl>
+
+ #include "acpi/mainboard.asl"
+}