blob: 0fec68c9c6d90238644b1c6a355aeb6659baa4a9 [file] [log] [blame]
Kyösti Mälkki91162702011-11-03 15:22:01 +02001/*
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älkki91162702011-11-03 15:22:01 +020014 */
15
Kyösti Mälkki3aff1a32012-04-11 12:19:03 +030016#include <arch/ioapic.h>
17
Kyösti Mälkki91162702011-11-03 15:22:01 +020018DefinitionBlock(
19 "dsdt.aml",
20 "DSDT",
Paul Menzel6a427b92013-02-04 11:38:01 +010021 0x04, // DSDT revision: ACPI v4.0
22 "COREv4", // OEM id
23 "COREBOOT", // OEM table id
24 0x20111103 // OEM revision
Kyösti Mälkki91162702011-11-03 15:22:01 +020025) {
26
27Scope(\_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
76Scope(\_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}