blob: 4e86092092cc0d724b36892f8005c030415cc814 [file] [log] [blame]
Angel Pons4b429832020-04-02 23:48:50 +02001/* SPDX-License-Identifier: GPL-2.0-only */
Patrick Georgi2efc8802012-11-06 11:03:53 +01002
3#include "hostbridge.asl"
Angel Pons2f30e8c2020-09-16 13:29:21 +02004#include <southbridge/intel/i82801ix/i82801ix.h>
Patrick Georgi2efc8802012-11-06 11:03:53 +01005
6/* PCI Device Resource Consumption */
7Device (PDRC)
8{
9 Name (_HID, EISAID("PNP0C02"))
10 Name (_UID, 1)
11
12 // This does not seem to work correctly yet - set values statically for
13 // now.
Patrick Georgi2efc8802012-11-06 11:03:53 +010014 Name (PDRS, ResourceTemplate() {
Angel Ponsb70ff522021-01-28 14:27:46 +010015 Memory32Fixed(ReadWrite, CONFIG_FIXED_RCBA_MMIO_BASE, CONFIG_RCBA_LENGTH)
Angel Ponsf462b3d2021-01-20 00:36:31 +010016 Memory32Fixed(ReadWrite, CONFIG_FIXED_MCHBAR_MMIO_BASE, 0x00004000)
17 Memory32Fixed(ReadWrite, CONFIG_FIXED_DMIBAR_MMIO_BASE, 0x00001000)
18 Memory32Fixed(ReadWrite, CONFIG_FIXED_EPBAR_MMIO_BASE, 0x00001000)
Patrick Georgi2efc8802012-11-06 11:03:53 +010019 Memory32Fixed(ReadWrite, 0xfed20000, 0x00020000) // Misc ICH
20 Memory32Fixed(ReadWrite, 0xfed40000, 0x00005000) // Misc ICH
21 Memory32Fixed(ReadWrite, 0xfed45000, 0x0004b000) // Misc ICH
22 })
23
24 // Current Resource Settings
25 Method (_CRS, 0, Serialized)
26 {
Patrick Georgi2efc8802012-11-06 11:03:53 +010027 Return(PDRS)
28 }
29}
30
31// PCIe graphics port 0:1.0
32#include "peg.asl"
Matt DeVillierc6589ae2020-11-28 13:17:54 -060033
34// Integrated graphics 0:2.0
35#include <drivers/intel/gma/acpi/gfx.asl>