blob: 6039a5aae992359503c9482ad3cb28132fe96a2a [file] [log] [blame]
Martin Roth1a3de8e2022-10-06 15:57:21 -06001/* SPDX-License-Identifier: GPL-2.0-only */
2
Martin Roth20646cd2023-01-04 21:27:06 -07003/* TODO: Update for Phoenix */
Martin Roth1a3de8e2022-10-06 15:57:21 -06004
5Device(PCI0) {
6 Name(_HID, EISAID("PNP0A08")) /* PCI Express Root Bridge */
7 Name(_CID, EISAID("PNP0A03")) /* PCI Root Bridge */
Martin Roth1a3de8e2022-10-06 15:57:21 -06008
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 }
Martin Roth1a3de8e2022-10-06 15:57:21 -060022
23 /* 0:14.3 - LPC */
24 #include <soc/amd/common/acpi/lpc.asl>
25
26} /* End PCI0 scope */