Vishal Bhoj | 82c8071 | 2015-12-15 21:13:33 +0530 | [diff] [blame] | 1 | /**************************************************************************;
|
| 2 | ;* *;
|
| 3 | ;* *;
|
| 4 | ;* Intel Corporation - ACPI Reference Code for the Baytrail *;
|
| 5 | ;* Family of Customer Reference Boards. *;
|
| 6 | ;* *;
|
| 7 | ;* *;
|
| 8 | ;* Copyright (c) 2012 - 2014, Intel Corporation. All rights reserved *;
|
| 9 | ;
|
| 10 | ; This program and the accompanying materials are licensed and made available under
|
| 11 | ; the terms and conditions of the BSD License that accompanies this distribution.
|
| 12 | ; The full text of the license may be found at
|
| 13 | ; http://opensource.org/licenses/bsd-license.php.
|
| 14 | ;
|
| 15 | ; THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
|
| 16 | ; WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
|
| 17 | ;
|
| 18 | ;* *;
|
| 19 | ;* *;
|
| 20 | ;**************************************************************************/
|
| 21 |
|
| 22 |
|
| 23 | // LPC Bridge - Device 31, Function 0
|
| 24 | // Define the needed LPC registers used by ASL.
|
| 25 |
|
| 26 | scope(\_SB)
|
| 27 | {
|
| 28 | OperationRegion(ILBR, SystemMemory, \IBAS, 0x8C)
|
| 29 | Field(ILBR, AnyAcc, NoLock, Preserve)
|
| 30 | {
|
| 31 | Offset(0x08), // 0x08
|
| 32 | PARC, 8,
|
| 33 | PBRC, 8,
|
| 34 | PCRC, 8,
|
| 35 | PDRC, 8,
|
| 36 | PERC, 8,
|
| 37 | PFRC, 8,
|
| 38 | PGRC, 8,
|
| 39 | PHRC, 8,
|
| 40 | Offset(0x88), // 0x88
|
| 41 | , 3,
|
| 42 | UI3E, 1,
|
| 43 | UI4E, 1
|
| 44 | }
|
| 45 |
|
| 46 | Include ("98_LINK.ASL")
|
| 47 | }
|
| 48 |
|
| 49 | OperationRegion(LPC0, PCI_Config, 0x00, 0xC0)
|
| 50 | Field(LPC0, AnyAcc, NoLock, Preserve)
|
| 51 | {
|
| 52 | Offset(0x08), // 0x08
|
| 53 | SRID, 8, // Revision ID
|
| 54 | Offset(0x080), // 0x80
|
| 55 | C1EN, 1, // COM1 Enable
|
| 56 | , 31
|
| 57 | }
|
| 58 |
|
| 59 |
|
| 60 | Include ("LPC_DEV.ASL")
|
| 61 |
|
| 62 |
|
| 63 |
|
| 64 |
|
| 65 |
|