Jonathan A. Kollasch | 3e4f7a3 | 2020-01-10 13:23:02 -0600 | [diff] [blame] | 1 | /* SPDX-License-Identifier: GPL-2.0-or-later */ |
Jonathan A. Kollasch | 3e4f7a3 | 2020-01-10 13:23:02 -0600 | [diff] [blame] | 2 | |
Furquan Shaikh | 76cedd2 | 2020-05-02 10:24:23 -0700 | [diff] [blame] | 3 | #include <acpi/acpi.h> |
Jonathan A. Kollasch | 3e4f7a3 | 2020-01-10 13:23:02 -0600 | [diff] [blame] | 4 | DefinitionBlock( |
| 5 | "dsdt.aml", |
| 6 | "DSDT", |
Elyes HAOUAS | 90d00de | 2020-10-05 16:38:53 +0200 | [diff] [blame] | 7 | ACPI_DSDT_REV_2, |
Jonathan A. Kollasch | 3e4f7a3 | 2020-01-10 13:23:02 -0600 | [diff] [blame] | 8 | OEM_ID, |
| 9 | ACPI_TABLE_CREATOR, |
| 10 | 0x20171231 /* OEM Revision */ |
| 11 | ) |
| 12 | { |
Kyösti Mälkki | cf246d5 | 2021-01-21 08:17:00 +0200 | [diff] [blame] | 13 | #include <acpi/dsdt_top.asl> |
Jonathan A. Kollasch | 3e4f7a3 | 2020-01-10 13:23:02 -0600 | [diff] [blame] | 14 | #include "acpi/platform.asl" |
| 15 | #include <cpu/intel/common/acpi/cpu.asl> |
| 16 | #include <southbridge/intel/common/acpi/platform.asl> |
| 17 | #include <southbridge/intel/bd82x6x/acpi/globalnvs.asl> |
| 18 | #include <southbridge/intel/common/acpi/sleepstates.asl> |
| 19 | |
| 20 | Device (\_SB.PCI0) |
| 21 | { |
| 22 | #include <northbridge/intel/sandybridge/acpi/sandybridge.asl> |
| 23 | #include <southbridge/intel/bd82x6x/acpi/pch.asl> |
| 24 | Device (PCIB) |
| 25 | { |
| 26 | Name (_ADR, 0x001E0000) |
| 27 | Name (_PRW, Package(){ 13, 4 }) |
| 28 | Method (_PRT) |
| 29 | { |
| 30 | If (PICM) { |
| 31 | Return (Package() { |
| 32 | Package() { 0x0003ffff, 0, 0, 0x17 }, |
| 33 | }) |
| 34 | } |
| 35 | Return (Package() { |
| 36 | Package() { 0x0003ffff, 0, \_SB.PCI0.LPCB.LNKH, 0 }, |
| 37 | }) |
| 38 | } |
| 39 | } |
| 40 | } |
| 41 | |
| 42 | Scope (\_SB.PCI0.PEGP.DEV0) |
| 43 | { |
| 44 | Name (_SUN, 7) |
| 45 | } |
| 46 | |
| 47 | Scope (\_SB.PCI0.PEG1.DEV0) |
| 48 | { |
| 49 | Name (_SUN, 6) |
| 50 | } |
| 51 | |
| 52 | Scope (\_SB.PCI0.PEG6.DEV0) |
| 53 | { |
| 54 | Name (_SUN, 5) |
| 55 | } |
| 56 | |
| 57 | Scope (\_SB.PCI0.RP01) |
| 58 | { |
| 59 | Device (DEV0) |
| 60 | { |
| 61 | Name (_ADR, 0x00000000) |
| 62 | Name (_SUN, 4) |
| 63 | } |
| 64 | } |
| 65 | } |