blob: e9d35207c79512fd1fbc3acef3a26603dc3d62c5 [file] [log] [blame]
Aaron Durbin76c37002012-10-30 09:03:43 -05001/*
2 * This file is part of the coreboot project.
3 *
4 * Copyright (C) 2007-2009 coresystems GmbH
5 *
6 * This program is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU General Public License as
8 * published by the Free Software Foundation; version 2 of
9 * the License.
10 *
11 * This program is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 * GNU General Public License for more details.
Aaron Durbin76c37002012-10-30 09:03:43 -050015 */
16
17#include "../haswell.h"
18#include "hostbridge.asl"
19
20/* PCI Device Resource Consumption */
21Device (PDRC)
22{
23 Name (_HID, EISAID("PNP0C02"))
24 Name (_UID, 1)
25
26 Name (PDRS, ResourceTemplate() {
27 Memory32Fixed(ReadWrite, 0xfed1c000, 0x00004000) // RCBA
Paul Menzel20f83d52014-02-11 10:38:27 +010028 Memory32Fixed(ReadWrite, DEFAULT_MCHBAR, 0x00008000)
Aaron Durbin76c37002012-10-30 09:03:43 -050029 Memory32Fixed(ReadWrite, DEFAULT_DMIBAR, 0x00001000)
30 Memory32Fixed(ReadWrite, DEFAULT_EPBAR, 0x00001000)
Kyösti Mälkki503d3242019-03-05 07:54:28 +020031 Memory32Fixed(ReadWrite, CONFIG_MMCONF_BASE_ADDRESS, 0x04000000)
Aaron Durbin76c37002012-10-30 09:03:43 -050032 Memory32Fixed(ReadWrite, 0xfed20000, 0x00020000) // Misc ICH
33 Memory32Fixed(ReadWrite, 0xfed40000, 0x00005000) // Misc ICH
34 Memory32Fixed(ReadWrite, 0xfed45000, 0x0004b000) // Misc ICH
35
Martin Roth33232602017-06-24 14:48:50 -060036#if IS_ENABLED(CONFIG_CHROMEOS_RAMOOPS)
Aaron Durbin76c37002012-10-30 09:03:43 -050037 Memory32Fixed(ReadWrite, CONFIG_CHROMEOS_RAMOOPS_RAM_START,
38 CONFIG_CHROMEOS_RAMOOPS_RAM_SIZE)
39#endif
Aaron Durbin76c37002012-10-30 09:03:43 -050040 })
41
42 // Current Resource Settings
43 Method (_CRS, 0, Serialized)
44 {
45 Return(PDRS)
46 }
47}
48
49// Integrated graphics 0:2.0
Nico Huber62047d12015-08-27 15:07:03 +020050#include <drivers/intel/gma/acpi/pch.asl>