blob: 3aa2aa82f0722dda987b5c72b9389c1870721ee1 [file] [log] [blame]
Felix Held3c44c622022-01-10 20:57:29 +01001/* SPDX-License-Identifier: GPL-2.0-only */
2
3/* TODO: Check if this is still correct */
4
5Device(PCI0) {
6 Name(_HID, EISAID("PNP0A08")) /* PCI Express Root Bridge */
7 Name(_CID, EISAID("PNP0A03")) /* PCI Root Bridge */
Felix Held3c44c622022-01-10 20:57:29 +01008
9 /* Operating System Capabilities Method */
10 Method(_OSC, 4) {
11 CreateDWordField(Arg3, 0, CDW1) /* Capabilities dword 1 */
12
13 /* Check for proper PCI/PCIe UUID */
14 If (Arg0 == ToUUID("33DB4D5B-1FF7-401C-9657-7441C03DD766")) {
15 /* Let OS control everything */
16 Return (Arg3)
17 } Else {
18 CDW1 |= 4 /* Unrecognized UUID */
19 Return (Arg3)
20 }
21 }
Felix Held3c44c622022-01-10 20:57:29 +010022
23 /* 0:14.3 - LPC */
24 #include <soc/amd/common/acpi/lpc.asl>
25
26} /* End PCI0 scope */