1 /* SPDX-License-Identifier: GPL-2.0-only */
5 Name (_HID, "808622A8")
6 Name (_CID, "808622A8")
8 Name (_DDN, "Intel(R) Low Power Audio Controller - 808622A8")
9 Name (_PR0, Package () { PLPE })
11 Name (RBUF, ResourceTemplate()
13 Memory32Fixed (ReadWrite, 0, 0x00200000, BAR0)
14 Memory32Fixed (ReadWrite, 0, 0x00001000, BAR1)
15 Memory32Fixed (ReadWrite, 0, 0x00200000, BAR2)
16 Interrupt (ResourceConsumer, Level, ActiveLow, Exclusive,,,)
20 Interrupt (ResourceConsumer, Level, ActiveLow, Exclusive,,,)
24 Interrupt (ResourceConsumer, Level, ActiveLow, Exclusive,,,)
28 Interrupt (ResourceConsumer, Level, ActiveLow, Exclusive,,,)
32 Interrupt (ResourceConsumer, Level, ActiveLow, Exclusive,,,)
36 Interrupt (ResourceConsumer, Level, ActiveLow, Exclusive,,,)
44 /* Update BAR0 from NVS */
45 CreateDwordField (^RBUF, ^BAR0._BAS, BAS0)
48 /* Update BAR1 from NVS */
49 CreateDwordField (^RBUF, ^BAR1._BAS, BAS1)
52 /* Update LPE FW from NVS */
53 CreateDwordField (^RBUF, ^BAR2._BAS, BAS2)
56 /* Append any Mainboard defined GPIOs */
57 If (CondRefOf (^GBUF)) {
58 ConcatenateResTemplate (^RBUF, ^GBUF, Local1)
74 OperationRegion (KEYS, SystemMemory, LPB1, 0x100)
75 Field (KEYS, DWordAcc, NoLock, WriteAsZeros)
81 PowerResource (PLPE, 0, 0)