Angel Pons | 236c637 | 2020-04-03 01:21:05 +0200 | [diff] [blame] | 1 | /* SPDX-License-Identifier: GPL-2.0-only */ |
Kyösti Mälkki | 9116270 | 2011-11-03 15:22:01 +0200 | [diff] [blame] | 2 | |
Furquan Shaikh | 76cedd2 | 2020-05-02 10:24:23 -0700 | [diff] [blame] | 3 | #include <acpi/acpi.h> |
Elyes HAOUAS | 1194999 | 2019-03-12 10:40:08 +0100 | [diff] [blame] | 4 | |
Kyösti Mälkki | 9116270 | 2011-11-03 15:22:01 +0200 | [diff] [blame] | 5 | DefinitionBlock( |
| 6 | "dsdt.aml", |
| 7 | "DSDT", |
Elyes HAOUAS | 90d00de | 2020-10-05 16:38:53 +0200 | [diff] [blame] | 8 | ACPI_DSDT_REV_2, |
Elyes HAOUAS | 6d19a20 | 2018-11-22 11:15:29 +0100 | [diff] [blame] | 9 | OEM_ID, |
| 10 | ACPI_TABLE_CREATOR, |
Paul Menzel | 6a427b9 | 2013-02-04 11:38:01 +0100 | [diff] [blame] | 11 | 0x20111103 // OEM revision |
Kyösti Mälkki | 9116270 | 2011-11-03 15:22:01 +0200 | [diff] [blame] | 12 | ) { |
Kyösti Mälkki | cf246d5 | 2021-01-21 08:17:00 +0200 | [diff] [blame^] | 13 | #include <acpi/dsdt_top.asl> |
Kyösti Mälkki | 9116270 | 2011-11-03 15:22:01 +0200 | [diff] [blame] | 14 | |
| 15 | Scope(\_SB) |
| 16 | { |
| 17 | Device(PCI0) { |
| 18 | Name (_HID, EISAID("PNP0A03")) |
Kyösti Mälkki | 9116270 | 2011-11-03 15:22:01 +0200 | [diff] [blame] | 19 | Name (_PRT, Package() { |
| 20 | Package() { 0x001dffff, 0, 0, 16 }, |
| 21 | Package() { 0x001dffff, 1, 0, 19 }, |
| 22 | Package() { 0x001dffff, 2, 0, 18 }, |
| 23 | Package() { 0x001dffff, 3, 0, 23 }, |
| 24 | Package() { 0x001fffff, 0, 0, 18 }, |
| 25 | Package() { 0x001fffff, 1, 0, 17 }, |
| 26 | }) |
| 27 | |
| 28 | #include "acpi/e7505_sec.asl" |
| 29 | |
| 30 | OperationRegion (I750, PCI_Config, 0x00, 0x0100) |
| 31 | Field (I750, ByteAcc, NoLock, Preserve) |
| 32 | { |
| 33 | Offset (0xC4), |
| 34 | TOLM, 16, /* Top of Low Memory */ |
| 35 | RBAR, 16, /* REMAP_BASE */ |
| 36 | RLAR, 16 /* REMAP_LIMIT */ |
| 37 | } |
| 38 | } |
| 39 | |
| 40 | #include "acpi/e7505_pri.asl" |
| 41 | |
| 42 | |
| 43 | Device (PWBT) |
| 44 | { |
| 45 | Name (_HID, EisaId ("PNP0C0C")) |
| 46 | Name (_PRW, Package () { 0x08, 0x05 }) |
| 47 | } |
| 48 | |
| 49 | Device (SLBT) |
| 50 | { |
| 51 | Name (_HID, EisaId ("PNP0C0E")) |
| 52 | Name (_PRW, Package () { 0x0B, 0x05 }) |
| 53 | } |
| 54 | |
| 55 | Device (LID0) |
| 56 | { |
| 57 | Name (_HID, EisaId ("PNP0C0D")) |
| 58 | Name (_PRW, Package () { 0x0B, 0x05 }) |
| 59 | } |
| 60 | |
| 61 | } |
| 62 | |
| 63 | Scope(\_SB.PCI0) |
| 64 | { |
| 65 | |
| 66 | Device(PCI1) |
| 67 | { |
| 68 | Name (_ADR, 0x00010000) |
| 69 | Name (_PRT, Package() { |
| 70 | Package() { 0x0000ffff, 0, 0, 16 }, |
| 71 | Package() { 0x0000ffff, 1, 0, 17 }, |
| 72 | }) |
| 73 | } |
| 74 | |
| 75 | Device(HLIB) |
| 76 | { |
| 77 | Name (_ADR, 0x00020000) |
| 78 | Name (_PRT, Package() { |
| 79 | Package() { 0x001dffff, 0, 0, 18 }, |
| 80 | Package() { 0x001dffff, 1, 0, 18 }, |
| 81 | Package() { 0x001dffff, 2, 0, 18 }, |
| 82 | Package() { 0x001dffff, 3, 0, 18 }, |
| 83 | Package() { 0x001fffff, 0, 0, 18 }, |
| 84 | Package() { 0x001fffff, 1, 0, 18 }, |
| 85 | Package() { 0x001fffff, 2, 0, 18 }, |
| 86 | Package() { 0x001fffff, 3, 0, 18 }, |
| 87 | }) |
| 88 | |
| 89 | #include "acpi/p64h2.asl" |
| 90 | } |
| 91 | |
| 92 | #include "acpi/i82801db.asl" |
| 93 | } |
| 94 | |
| 95 | #include "acpi/power.asl" |
| 96 | |
| 97 | } |