Kyösti Mälkki | 9116270 | 2011-11-03 15:22:01 +0200 | [diff] [blame] | 1 | /* |
| 2 | * This file is part of the coreboot project. |
| 3 | * |
| 4 | * Copyright (C) 2011 Kyösti Mälkki <kyosti.malkki@gmail.com> |
| 5 | * |
| 6 | * This program is free software; you can redistribute it and/or modify |
| 7 | * it under the terms of the GNU General Public License as published by |
| 8 | * the Free Software Foundation; version 2 of the License. |
| 9 | * |
| 10 | * This program is distributed in the hope that it will be useful, |
| 11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 13 | * GNU General Public License for more details. |
Kyösti Mälkki | 9116270 | 2011-11-03 15:22:01 +0200 | [diff] [blame] | 14 | */ |
| 15 | |
Elyes HAOUAS | 6d19a20 | 2018-11-22 11:15:29 +0100 | [diff] [blame] | 16 | #include <arch/acpi.h> |
Elyes HAOUAS | 1194999 | 2019-03-12 10:40:08 +0100 | [diff] [blame^] | 17 | |
Kyösti Mälkki | 9116270 | 2011-11-03 15:22:01 +0200 | [diff] [blame] | 18 | DefinitionBlock( |
| 19 | "dsdt.aml", |
| 20 | "DSDT", |
Elyes HAOUAS | 0cca6e2 | 2018-11-13 14:23:29 +0100 | [diff] [blame] | 21 | 0x02, // DSDT revision: ACPI v2.0 and up |
Elyes HAOUAS | 6d19a20 | 2018-11-22 11:15:29 +0100 | [diff] [blame] | 22 | OEM_ID, |
| 23 | ACPI_TABLE_CREATOR, |
Paul Menzel | 6a427b9 | 2013-02-04 11:38:01 +0100 | [diff] [blame] | 24 | 0x20111103 // OEM revision |
Kyösti Mälkki | 9116270 | 2011-11-03 15:22:01 +0200 | [diff] [blame] | 25 | ) { |
| 26 | |
| 27 | Scope(\_SB) |
| 28 | { |
| 29 | Device(PCI0) { |
| 30 | Name (_HID, EISAID("PNP0A03")) |
| 31 | Name (_ADR, 0x00) |
| 32 | Name (_PRT, Package() { |
| 33 | Package() { 0x001dffff, 0, 0, 16 }, |
| 34 | Package() { 0x001dffff, 1, 0, 19 }, |
| 35 | Package() { 0x001dffff, 2, 0, 18 }, |
| 36 | Package() { 0x001dffff, 3, 0, 23 }, |
| 37 | Package() { 0x001fffff, 0, 0, 18 }, |
| 38 | Package() { 0x001fffff, 1, 0, 17 }, |
| 39 | }) |
| 40 | |
| 41 | #include "acpi/e7505_sec.asl" |
| 42 | |
| 43 | OperationRegion (I750, PCI_Config, 0x00, 0x0100) |
| 44 | Field (I750, ByteAcc, NoLock, Preserve) |
| 45 | { |
| 46 | Offset (0xC4), |
| 47 | TOLM, 16, /* Top of Low Memory */ |
| 48 | RBAR, 16, /* REMAP_BASE */ |
| 49 | RLAR, 16 /* REMAP_LIMIT */ |
| 50 | } |
| 51 | } |
| 52 | |
| 53 | #include "acpi/e7505_pri.asl" |
| 54 | |
| 55 | |
| 56 | Device (PWBT) |
| 57 | { |
| 58 | Name (_HID, EisaId ("PNP0C0C")) |
| 59 | Name (_PRW, Package () { 0x08, 0x05 }) |
| 60 | } |
| 61 | |
| 62 | Device (SLBT) |
| 63 | { |
| 64 | Name (_HID, EisaId ("PNP0C0E")) |
| 65 | Name (_PRW, Package () { 0x0B, 0x05 }) |
| 66 | } |
| 67 | |
| 68 | Device (LID0) |
| 69 | { |
| 70 | Name (_HID, EisaId ("PNP0C0D")) |
| 71 | Name (_PRW, Package () { 0x0B, 0x05 }) |
| 72 | } |
| 73 | |
| 74 | } |
| 75 | |
| 76 | Scope(\_SB.PCI0) |
| 77 | { |
| 78 | |
| 79 | Device(PCI1) |
| 80 | { |
| 81 | Name (_ADR, 0x00010000) |
| 82 | Name (_PRT, Package() { |
| 83 | Package() { 0x0000ffff, 0, 0, 16 }, |
| 84 | Package() { 0x0000ffff, 1, 0, 17 }, |
| 85 | }) |
| 86 | } |
| 87 | |
| 88 | Device(HLIB) |
| 89 | { |
| 90 | Name (_ADR, 0x00020000) |
| 91 | Name (_PRT, Package() { |
| 92 | Package() { 0x001dffff, 0, 0, 18 }, |
| 93 | Package() { 0x001dffff, 1, 0, 18 }, |
| 94 | Package() { 0x001dffff, 2, 0, 18 }, |
| 95 | Package() { 0x001dffff, 3, 0, 18 }, |
| 96 | Package() { 0x001fffff, 0, 0, 18 }, |
| 97 | Package() { 0x001fffff, 1, 0, 18 }, |
| 98 | Package() { 0x001fffff, 2, 0, 18 }, |
| 99 | Package() { 0x001fffff, 3, 0, 18 }, |
| 100 | }) |
| 101 | |
| 102 | #include "acpi/p64h2.asl" |
| 103 | } |
| 104 | |
| 105 | #include "acpi/i82801db.asl" |
| 106 | } |
| 107 | |
| 108 | #include "acpi/power.asl" |
| 109 | |
| 110 | } |