Aamir Bohra | 3a14338 | 2018-07-11 12:07:51 +0530 | [diff] [blame] | 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 | */ |
| 15 | |
| 16 | #include <arch/acpi.h> |
| 17 | #include "variant/ec.h" |
| 18 | #include "variant/gpio.h" |
| 19 | |
| 20 | DefinitionBlock( |
| 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 Heymans | aaced4a | 2018-11-28 13:53:15 +0100 | [diff] [blame] | 36 | #include <cpu/intel/common/acpi/cpu.asl> |
Aamir Bohra | 3a14338 | 2018-07-11 12:07:51 +0530 | [diff] [blame] | 37 | |
| 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 | } |