Felix Held | 3c44c62 | 2022-01-10 20:57:29 +0100 | [diff] [blame] | 1 | /* SPDX-License-Identifier: GPL-2.0-only */ |
| 2 | |
| 3 | /* TODO: Check if this is still correct */ |
| 4 | |
| 5 | Device(PCI0) { |
| 6 | Name(_HID, EISAID("PNP0A08")) /* PCI Express Root Bridge */ |
| 7 | Name(_CID, EISAID("PNP0A03")) /* PCI Root Bridge */ |
Felix Held | 3c44c62 | 2022-01-10 20:57:29 +0100 | [diff] [blame] | 8 | |
| 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 Held | 3c44c62 | 2022-01-10 20:57:29 +0100 | [diff] [blame] | 22 | |
| 23 | /* 0:14.3 - LPC */ |
| 24 | #include <soc/amd/common/acpi/lpc.asl> |
| 25 | |
| 26 | } /* End PCI0 scope */ |