2 * This file is part of the coreboot project.
5 * This program is free software; you can redistribute it and/or
6 * modify it under the terms of the GNU General Public License as
7 * published by the Free Software Foundation; version 2 of
10 * This program is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 * GNU General Public License for more details.
18 Name (_HID, "808622A8")
19 Name (_CID, "808622A8")
21 Name (_DDN, "Intel(R) Low Power Audio Controller - 808622A8")
22 Name (_PR0, Package () { PLPE })
24 Name (RBUF, ResourceTemplate()
26 Memory32Fixed (ReadWrite, 0, 0x00200000, BAR0)
27 Memory32Fixed (ReadWrite, 0, 0x00001000, BAR1)
28 Memory32Fixed (ReadWrite, 0, 0x00200000, BAR2)
29 Interrupt (ResourceConsumer, Level, ActiveLow, Exclusive,,,)
33 Interrupt (ResourceConsumer, Level, ActiveLow, Exclusive,,,)
37 Interrupt (ResourceConsumer, Level, ActiveLow, Exclusive,,,)
41 Interrupt (ResourceConsumer, Level, ActiveLow, Exclusive,,,)
45 Interrupt (ResourceConsumer, Level, ActiveLow, Exclusive,,,)
49 Interrupt (ResourceConsumer, Level, ActiveLow, Exclusive,,,)
57 /* Update BAR0 from NVS */
58 CreateDwordField (^RBUF, ^BAR0._BAS, BAS0)
61 /* Update BAR1 from NVS */
62 CreateDwordField (^RBUF, ^BAR1._BAS, BAS1)
65 /* Update LPE FW from NVS */
66 CreateDwordField (^RBUF, ^BAR2._BAS, BAS2)
69 /* Append any Mainboard defined GPIOs */
70 If (CondRefOf (^GBUF)) {
71 ConcatenateResTemplate (^RBUF, ^GBUF, Local1)
80 If (LEqual (\LPEN, 1)) {
87 OperationRegion (KEYS, SystemMemory, LPB1, 0x100)
88 Field (KEYS, DWordAcc, NoLock, WriteAsZeros)
94 PowerResource (PLPE, 0, 0)
103 Or (PSAT, 0x00000003, PSAT)
104 Or (PSAT, 0x00000000, PSAT)
109 And (PSAT, 0xfffffffc, PSAT)
110 Or (PSAT, 0x00000000, PSAT)