Angel Pons | f4702c2 | 2020-04-03 01:22:49 +0200 | [diff] [blame] | 1 | /* SPDX-License-Identifier: GPL-2.0-only */ |
Vladimir Serbinenko | b1ccccc | 2014-02-19 22:20:14 +0100 | [diff] [blame] | 2 | |
Furquan Shaikh | 76cedd2 | 2020-05-02 10:24:23 -0700 | [diff] [blame] | 3 | #include <acpi/acpi.h> |
Vladimir Serbinenko | b1ccccc | 2014-02-19 22:20:14 +0100 | [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, |
Elyes HAOUAS | 6d19a20 | 2018-11-22 11:15:29 +0100 | [diff] [blame] | 8 | OEM_ID, |
| 9 | ACPI_TABLE_CREATOR, |
Vladimir Serbinenko | b1ccccc | 2014-02-19 22:20:14 +0100 | [diff] [blame] | 10 | 0x20140108 /* OEM revision */ |
| 11 | ) |
| 12 | { |
Kyösti Mälkki | cf246d5 | 2021-01-21 08:17:00 +0200 | [diff] [blame^] | 13 | #include <acpi/dsdt_top.asl> |
Arthur Heymans | 6c13b04 | 2019-11-02 17:19:26 +0100 | [diff] [blame] | 14 | #include <southbridge/intel/common/acpi/platform.asl> |
Vladimir Serbinenko | d2aa473 | 2015-05-17 00:20:52 +0200 | [diff] [blame] | 15 | |
Vladimir Serbinenko | b1ccccc | 2014-02-19 22:20:14 +0100 | [diff] [blame] | 16 | #include "acpi/platform.asl" |
| 17 | |
| 18 | /* global NVS and variables */ |
Kyösti Mälkki | e653942 | 2020-12-19 19:33:12 +0200 | [diff] [blame] | 19 | #include <southbridge/intel/ibexpeak/acpi/globalnvs.asl> |
Vladimir Serbinenko | b1ccccc | 2014-02-19 22:20:14 +0100 | [diff] [blame] | 20 | |
| 21 | /* General Purpose Events */ |
| 22 | #include "acpi/gpe.asl" |
| 23 | |
Arthur Heymans | aaced4a | 2018-11-28 13:53:15 +0100 | [diff] [blame] | 24 | #include <cpu/intel/common/acpi/cpu.asl> |
Vladimir Serbinenko | b1ccccc | 2014-02-19 22:20:14 +0100 | [diff] [blame] | 25 | |
| 26 | Scope (\_SB) { |
| 27 | Device (PCI0) |
| 28 | { |
Angel Pons | 95de231 | 2020-02-17 13:08:53 +0100 | [diff] [blame] | 29 | #include <northbridge/intel/ironlake/acpi/ironlake.asl> |
Vladimir Serbinenko | b1ccccc | 2014-02-19 22:20:14 +0100 | [diff] [blame] | 30 | #include <southbridge/intel/bd82x6x/acpi/pch.asl> |
Nico Huber | 954a55b | 2015-08-27 13:31:46 +0200 | [diff] [blame] | 31 | |
| 32 | #include <drivers/intel/gma/acpi/default_brightness_levels.asl> |
Vladimir Serbinenko | b1ccccc | 2014-02-19 22:20:14 +0100 | [diff] [blame] | 33 | } |
| 34 | Device (UNCR) |
| 35 | { |
| 36 | Name (_BBN, 0xFF) |
Vladimir Serbinenko | b1ccccc | 2014-02-19 22:20:14 +0100 | [diff] [blame] | 37 | Name (RID, 0x00) |
| 38 | Name (_HID, EisaId ("PNP0A03")) |
| 39 | Name (_CRS, ResourceTemplate () |
| 40 | { |
| 41 | WordBusNumber (ResourceProducer, MinFixed, MaxFixed, PosDecode, |
| 42 | 0x0000, /* Granularity */ |
| 43 | 0x00FF, /* Range Minimum */ |
| 44 | 0x00FF, /* Range Maximum */ |
| 45 | 0x0000, /* Translation Offset */ |
| 46 | 0x0001, /* Length */ |
| 47 | ,, ) |
| 48 | }) |
| 49 | Device (SAD) |
| 50 | { |
| 51 | Name (_ADR, 0x01) |
| 52 | Name (RID, 0x00) |
| 53 | OperationRegion (SADC, PCI_Config, 0x00, 0x0100) |
| 54 | Field (SADC, DWordAcc, NoLock, Preserve) |
| 55 | { |
| 56 | Offset (0x40), |
| 57 | PAM0, 8, |
| 58 | PAM1, 8, |
| 59 | PAM2, 8, |
| 60 | PAM3, 8, |
| 61 | PAM4, 8, |
| 62 | PAM5, 8, |
| 63 | PAM6, 8 |
| 64 | } |
| 65 | } |
| 66 | } |
| 67 | } |
| 68 | |
Subrata Banik | 2715cdb | 2019-10-30 16:48:19 +0530 | [diff] [blame] | 69 | #include <southbridge/intel/common/acpi/sleepstates.asl> |
Vladimir Serbinenko | b1ccccc | 2014-02-19 22:20:14 +0100 | [diff] [blame] | 70 | } |