1 /* SPDX-License-Identifier: GPL-2.0-only */
5 Name (_HID, EISAID ("PNP0C09"))
7 Name (_GPE, 10) // GPIO 10 is SMC_RUNTIME_SCI_N
9 OperationRegion (ERAM, EmbeddedControl, 0x00, 0xff)
10 Field (ERAM, ByteAcc, Lock, Preserve)
13 ACPR, 1, // AC Power (1=present)
15 CFAN, 1, // CPU Fan (1=on)
17 LIDS, 1, // Lid State (1=open)
19 SPTR, 8, // SMBUS Protocol Register
20 SSTS, 8, // SMBUS Status Register
21 SADR, 8, // SMBUS Address Register
22 SCMD, 8, // SMBUS Command Register
23 SBFR, 256, // SMBUS Block Buffer
24 SCNT, 8, // SMBUS Block Count
27 ECMD, 8, // EC Command Register
30 PECL, 8, // PECI fractional (1/64 Celsius)
31 PECH, 8, // PECI integer (Celsius)
34 Name (_CRS, ResourceTemplate()
36 IO (Decode16, 0x62, 0x62, 0, 1)
37 IO (Decode16, 0x66, 0x66, 0, 1)