| 1 |
/* SPDX-License-Identifier: GPL-2.0-only */ |
| 2 |
|
| 3 |
#include <intelblocks/itss.h> |
| 4 |
#include <intelblocks/pcr.h> |
| 5 |
#include <soc/iomap.h> |
| 6 |
#include <soc/irq.h> |
| 7 |
#include <soc/gpe.h> |
| 8 |
#include <soc/pcr_ids.h> |
| 9 |
|
| 10 |
/* PCI IRQ assignment */ |
| 11 |
#include "pci_irqs.asl" |
| 12 |
|
| 13 |
/* GPIO Controller */ |
| 14 |
#include "gpio.asl" |
| 15 |
|
| 16 |
/* Interrupt Routing */ |
| 17 |
#include "irqlinks.asl" |
| 18 |
|
| 19 |
/* LPC 0:1f.0 */ |
| 20 |
#include "lpc.asl" |
| 21 |
|
| 22 |
/* PCH HDA */ |
| 23 |
#include "pch_hda.asl" |
| 24 |
|
| 25 |
/* PCIE Ports */ |
| 26 |
#include "pcie.asl" |
| 27 |
|
| 28 |
/* PCR Access */ |
| 29 |
#include <soc/intel/common/acpi/pch_pcr.asl> |
| 30 |
|
| 31 |
/* PMC 0:1f.2 */ |
| 32 |
#include "pmc.asl" |
| 33 |
|
| 34 |
/* Serial IO */ |
| 35 |
#include "serialio.asl" |
| 36 |
|
| 37 |
/* SMBus 0:1f.3 */ |
| 38 |
#include <soc/intel/common/block/acpi/acpi/smbus.asl> |
| 39 |
|
| 40 |
/* Storage Controllers */ |
| 41 |
#include "scs.asl" |
| 42 |
|
| 43 |
/* USB XHCI 0:14.0 */ |
| 44 |
#include "xhci.asl" |
| 45 |
|
| 46 |
/* CSE/HECI #1 0:16.0 */ |
| 47 |
#include <soc/intel/common/block/acpi/acpi/heci.asl> |
| 48 |
|
| 49 |
Method (_OSC, 4) |
| 50 |
{ |
| 51 |
/* Check for proper GUID */ |
| 52 |
If (Arg0 == ToUUID ("33DB4D5B-1FF7-401C-9657-7441C03DD766")) |
| 53 |
{ |
| 54 |
/* Let OS control everything */ |
| 55 |
Return (Arg3) |
| 56 |
} |
| 57 |
Else |
| 58 |
{ |
| 59 |
/* Unrecognized UUID */ |
| 60 |
CreateDWordField (Arg3, 0, CDW1) |
| 61 |
CDW1 |= 4 |
| 62 |
Return (Arg3) |
| 63 |
} |
| 64 |
} |
| 65 |
|
| 66 |
/* SGX */ |
| 67 |
#include <soc/intel/common/acpi/sgx.asl> |