blob: 7724d8ee0f64fc7a4f03e98c30b863f515c12948 [file] [log] [blame]
Damien Zammit43a1f782015-08-19 15:16:59 +10001/*
2 * This file is part of the coreboot project.
3 *
4 * Copyright (C) 2007-2009 coresystems GmbH
5 * Copyright (C) 2015 Damien Zammit <damien@zamaudio.com>
6 *
7 * This program is free software; you can redistribute it and/or
8 * modify it under the terms of the GNU General Public License as
9 * published by the Free Software Foundation; version 2 of
10 * the License.
11 *
12 * This program is distributed in the hope that it will be useful,
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 * GNU General Public License for more details.
16 */
17
18#include "hostbridge.asl"
19#include "../iomap.h"
20
21/* PCI Device Resource Consumption */
22Device (PDRC)
23{
24 Name (_HID, EISAID("PNP0C02"))
25 Name (_UID, 1)
26
27 Name (PDRS, ResourceTemplate() {
28 Memory32Fixed(ReadWrite, 0xfed1c000, 0x00004000) // RCBA
29 Memory32Fixed(ReadWrite, DEFAULT_MCHBAR, 0x00004000)
30 Memory32Fixed(ReadWrite, DEFAULT_DMIBAR, 0x00001000)
31 Memory32Fixed(ReadWrite, DEFAULT_EPBAR, 0x00001000)
32 Memory32Fixed(ReadWrite, DEFAULT_PCIEXBAR, 0x04000000)
33 Memory32Fixed(ReadWrite, 0xfed20000, 0x00020000) // Misc ICH
34 Memory32Fixed(ReadWrite, 0xfed40000, 0x00005000) // Misc ICH
35 Memory32Fixed(ReadWrite, 0xfed45000, 0x0004b000) // Misc ICH
36 })
37
38 // Current Resource Settings
39 Method (_CRS, 0, Serialized)
40 {
41 Return(PDRS)
42 }
43}
44
45// PCIe graphics port 0:1.0
46#include "peg.asl"
47
48// Integrated graphics 0:2.0
49#include <drivers/intel/gma/acpi/non-pch.asl>