summaryrefslogtreecommitdiff
path: root/src/mainboard/supermicro/x9scl/dsdt.asl
blob: a46e27f3d57ded6030a8b6cb8a7973ba8c19ca66 (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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
/* SPDX-License-Identifier: GPL-2.0-or-later */

#include <acpi/acpi.h>
DefinitionBlock(
	"dsdt.aml",
	"DSDT",
	0x02,		/* DSDT Revision: ACPI v2.0 and up */
	OEM_ID,
	ACPI_TABLE_CREATOR,
	0x20171231	/* OEM Revision */
)
{
	#include "acpi/platform.asl"
	#include <cpu/intel/common/acpi/cpu.asl>
	#include <southbridge/intel/common/acpi/platform.asl>
	#include <southbridge/intel/bd82x6x/acpi/globalnvs.asl>
	#include <southbridge/intel/common/acpi/sleepstates.asl>

	Device (\_SB.PCI0)
	{
		#include <northbridge/intel/sandybridge/acpi/sandybridge.asl>
		#include <southbridge/intel/bd82x6x/acpi/pch.asl>
		Device (PCIB)
		{
			Name (_ADR, 0x001E0000)
			Name (_PRW, Package(){ 13, 4 })
			Method (_PRT)
			{
				If (PICM) {
					Return (Package() {
						Package() { 0x0003ffff, 0, 0, 0x17 },
					})
				}
				Return (Package() {
					Package() { 0x0003ffff, 0, \_SB.PCI0.LPCB.LNKH, 0 },
				})
			}
		}
	}

	Scope (\_SB.PCI0.PEGP.DEV0)
	{
		Name (_SUN, 7)
	}

	Scope (\_SB.PCI0.PEG1.DEV0)
	{
		Name (_SUN, 6)
	}

	Scope (\_SB.PCI0.PEG6.DEV0)
	{
		Name (_SUN, 5)
	}

	Scope (\_SB.PCI0.RP01)
	{
		Device (DEV0)
		{
			Name (_ADR, 0x00000000)
			Name (_SUN, 4)
		}
	}
}