summaryrefslogtreecommitdiff
path: root/src/soc/intel/snowridge/acpi/southcluster.asl
blob: e2df596c054d69822731a20e242fc09a1ee52d78 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
/* SPDX-License-Identifier: GPL-2.0-only */

#include <arch/ioapic.h>
#include <cpu/x86/lapic_def.h>
#include <soc/iomap.h>

Scope (\_SB.PCI0)
{
	/* PCH Reserved resources. */
	Device (PCHR)
	{
		Name (_HID, EisaId ("PNP0C02"))
		Name (_CRS, ResourceTemplate ()
		{
			Memory32Fixed (ReadWrite, RESERVED_BASE_ADDRESS, RESERVED_BASE_SIZE)
		})
	}

	Device (APIC)
	{
		Name (_HID, EisaId ("PNP0003"))
		Name (_CRS, ResourceTemplate ()
		{
			/* IO APIC */
			Memory32Fixed (ReadOnly, IO_APIC_ADDR, 0x00100000)
			/* Local APIC */
			Memory32Fixed (ReadOnly, LAPIC_DEFAULT_BASE, 0x00100000)
		})
	}

	#include <soc/intel/common/block/acpi/acpi/lpc.asl>

	Device (PMC)
	{
		Name (_HID, EISAID ("PNP0C02"))
		Name (_DDN, "PCH PMC")
		Name (_UID, "PMC")

		Name (_CRS, ResourceTemplate
		{
			IO (Decode16, ACPI_BASE_ADDRESS, ACPI_BASE_ADDRESS, 0x1, 0x80)
			Memory32Fixed (ReadOnly, PCH_PWRM_BASE_ADDRESS, 0x10000)
		})
	}
}