Nick Vaccaro | d3e00ab | 2017-08-28 17:34:36 -0700 | [diff] [blame] | 1 | /* |
| 2 | * This file is part of the coreboot project. |
| 3 | * |
| 4 | * Copyright (C) 2007-2009 coresystems GmbH |
| 5 | * Copyright 2017 Google Inc. |
| 6 | * Copyright (C) 2017 Intel Corporation |
| 7 | * |
| 8 | * This program is free software; you can redistribute it and/or modify |
| 9 | * it under the terms of the GNU General Public License as published by |
| 10 | * the Free Software Foundation; version 2 of the License. |
| 11 | * |
| 12 | * This program is distributed in the hope that it will be useful, |
| 13 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 14 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 15 | * GNU General Public License for more details. |
| 16 | */ |
| 17 | |
Caveh Jalali | 50657aa | 2018-01-11 20:12:39 -0800 | [diff] [blame] | 18 | #include "variant/ec.h" |
| 19 | #include "variant/gpio.h" |
| 20 | |
Nick Vaccaro | d3e00ab | 2017-08-28 17:34:36 -0700 | [diff] [blame] | 21 | DefinitionBlock( |
| 22 | "dsdt.aml", |
| 23 | "DSDT", |
| 24 | 0x05, // DSDT revision: ACPI v5.0 |
| 25 | "COREv4", // OEM id |
| 26 | "COREBOOT", // OEM table id |
| 27 | 0x20110725 // OEM revision |
| 28 | ) |
| 29 | { |
Nick Vaccaro | b331923 | 2017-12-28 20:28:20 -0800 | [diff] [blame] | 30 | // Some generic macros |
| 31 | #include <soc/intel/cannonlake/acpi/platform.asl> |
| 32 | |
Nick Vaccaro | d3e00ab | 2017-08-28 17:34:36 -0700 | [diff] [blame] | 33 | // global NVS and variables |
| 34 | #include <soc/intel/cannonlake/acpi/globalnvs.asl> |
| 35 | |
Caveh Jalali | 50657aa | 2018-01-11 20:12:39 -0800 | [diff] [blame] | 36 | // CPU |
| 37 | #include <soc/intel/cannonlake/acpi/cpu.asl> |
| 38 | |
Nick Vaccaro | d3e00ab | 2017-08-28 17:34:36 -0700 | [diff] [blame] | 39 | Scope (\_SB) { |
Caveh Jalali | 50657aa | 2018-01-11 20:12:39 -0800 | [diff] [blame] | 40 | Device (PWRB) |
| 41 | { |
| 42 | Name (_HID, EisaId ("PNP0C0C")) |
| 43 | } |
Nick Vaccaro | b331923 | 2017-12-28 20:28:20 -0800 | [diff] [blame] | 44 | Device (PCI0) |
| 45 | { |
| 46 | #include <soc/intel/cannonlake/acpi/northbridge.asl> |
| 47 | #include <soc/intel/cannonlake/acpi/southbridge.asl> |
| 48 | } |
Nick Vaccaro | d3e00ab | 2017-08-28 17:34:36 -0700 | [diff] [blame] | 49 | } |
| 50 | |
| 51 | #if IS_ENABLED(CONFIG_CHROMEOS) |
| 52 | // Chrome OS specific |
| 53 | #include <vendorcode/google/chromeos/acpi/chromeos.asl> |
| 54 | #endif |
Nick Vaccaro | b331923 | 2017-12-28 20:28:20 -0800 | [diff] [blame] | 55 | |
| 56 | // Chipset specific sleep states |
| 57 | #include <soc/intel/cannonlake/acpi/sleepstates.asl> |
Caveh Jalali | 50657aa | 2018-01-11 20:12:39 -0800 | [diff] [blame] | 58 | |
| 59 | /* Chrome OS Embedded Controller */ |
| 60 | Scope (\_SB.PCI0.LPCB) |
| 61 | { |
| 62 | /* ACPI code for EC SuperIO functions */ |
| 63 | #include <ec/google/chromeec/acpi/superio.asl> |
| 64 | /* ACPI code for EC functions */ |
| 65 | #include <ec/google/chromeec/acpi/ec.asl> |
| 66 | } |
Nick Vaccaro | d3e00ab | 2017-08-28 17:34:36 -0700 | [diff] [blame] | 67 | } |