]> git.proxmox.com Git - mirror_edk2.git/blame - Vlv2DeviceRefCodePkg/AcpiTablesPCAT/PchPcie.asl
Vlv2DeviceRefCodePkg: Replace BSD License with BSD+Patent License
[mirror_edk2.git] / Vlv2DeviceRefCodePkg / AcpiTablesPCAT / PchPcie.asl
CommitLineData
3cbfba02
DW
1/**************************************************************************;\r
2;* *;\r
3;* *;\r
4;* Intel Corporation - ACPI Reference Code for the Baytrail *;\r
5;* Family of Customer Reference Boards. *;\r
6;* *;\r
7;* *;\r
8;* Copyright (c) 2011 - 2014, Intel Corporation. All rights reserved *;\r
9;\r
7ede8060 10; SPDX-License-Identifier: BSD-2-Clause-Patent\r
3cbfba02
DW
11;\r
12;* *;\r
13;* *;\r
14;**************************************************************************/\r
15\r
16\r
17OperationRegion(PXCS,PCI_Config,0x40,0xC0)\r
18Field(PXCS,AnyAcc, NoLock, Preserve)\r
19{\r
20 Offset(0x10), // LCTL - Link Control Register\r
21 L0SE, 1, // 0, L0s Entry Enabled\r
22 , 7,\r
23 Offset(0x12), // LSTS - Link Status Register\r
24 , 13,\r
25 LASX, 1, // 0, Link Active Status\r
26 Offset(0x1A), // SLSTS[7:0] - Slot Status Register\r
27 ABPX, 1, // 0, Attention Button Pressed\r
28 , 2,\r
29 PDCX, 1, // 3, Presence Detect Changed\r
30 , 2,\r
31 PDSX, 1, // 6, Presence Detect State\r
32 , 1,\r
33 Offset(0x20), // RSTS - Root Status Register\r
34 , 16,\r
35 PSPX, 1, // 16, PME Status\r
36}\r
37\r
38\r
39Device(PXSX)\r
40{\r
41 Name(_ADR, 0x00000000)\r
42\r
43 // NOTE: Any PCIE Hot-Plug dependency for this port is\r
44 // specific to the CRB. Please modify the code based on\r
45 // your platform requirements.\r
46\r
47 Name(_PRW, Package() {9,4})\r
48}\r
49\r
50\r