Angel Pons | 4b42983 | 2020-04-02 23:48:50 +0200 | [diff] [blame] | 1 | /* SPDX-License-Identifier: GPL-2.0-only */ |
Vladimir Serbinenko | c6f6be0 | 2013-11-12 22:32:08 +0100 | [diff] [blame] | 2 | |
Angel Pons | 95de231 | 2020-02-17 13:08:53 +0100 | [diff] [blame] | 3 | #include "../ironlake.h" |
Vladimir Serbinenko | c6f6be0 | 2013-11-12 22:32:08 +0100 | [diff] [blame] | 4 | #include "hostbridge.asl" |
| 5 | |
| 6 | /* PCI Device Resource Consumption */ |
| 7 | Device (PDRC) |
| 8 | { |
| 9 | Name (_HID, EISAID("PNP0C02")) |
| 10 | Name (_UID, 1) |
| 11 | |
| 12 | Name (PDRS, ResourceTemplate() { |
Angel Pons | 6e732d3 | 2021-01-28 13:56:18 +0100 | [diff] [blame] | 13 | Memory32Fixed(ReadWrite, CONFIG_FIXED_RCBA_MMIO_BASE, 0x00004000) |
Paul Menzel | 20f83d5 | 2014-02-11 10:38:27 +0100 | [diff] [blame] | 14 | Memory32Fixed(ReadWrite, DEFAULT_MCHBAR, 0x00008000) |
Vladimir Serbinenko | c6f6be0 | 2013-11-12 22:32:08 +0100 | [diff] [blame] | 15 | Memory32Fixed(ReadWrite, DEFAULT_DMIBAR, 0x00001000) |
| 16 | Memory32Fixed(ReadWrite, DEFAULT_EPBAR, 0x00001000) |
Angel Pons | b274ec7 | 2021-01-20 14:03:44 +0100 | [diff] [blame] | 17 | Memory32Fixed(ReadWrite, CONFIG_MMCONF_BASE_ADDRESS, CONFIG_MMCONF_LENGTH) |
Vladimir Serbinenko | c6f6be0 | 2013-11-12 22:32:08 +0100 | [diff] [blame] | 18 | Memory32Fixed(ReadWrite, 0xfed20000, 0x00020000) // Misc ICH |
| 19 | Memory32Fixed(ReadWrite, 0xfed40000, 0x00005000) // Misc ICH |
| 20 | Memory32Fixed(ReadWrite, 0xfed45000, 0x0004b000) // Misc ICH |
Vladimir Serbinenko | c6f6be0 | 2013-11-12 22:32:08 +0100 | [diff] [blame] | 21 | }) |
| 22 | |
| 23 | // Current Resource Settings |
| 24 | Method (_CRS, 0, Serialized) |
| 25 | { |
| 26 | Return(PDRS) |
| 27 | } |
| 28 | } |
Matt DeVillier | c6589ae | 2020-11-28 13:17:54 -0600 | [diff] [blame] | 29 | |
| 30 | /* Integrated graphics 0:2.0 */ |
| 31 | #include <drivers/intel/gma/acpi/gfx.asl> |