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