soc/amd/stoneyridge: remove LIDS field from global NVS
[coreboot.git] / src / ec / google / chromeec / acpi / cros_ec.asl
blob5a9541349b537ae0cee40f5fee41e38cb7ea8b4f
1 /* SPDX-License-Identifier: GPL-2.0-only */
3 Device (CREC)
5         Name (_HID, "GOOG0004")
6         Name (_UID, 1)
7         Name (_DDN, "EC Command Device")
8 #ifdef EC_ENABLE_WAKE_PIN
9         Name (_PRW, Package () { EC_ENABLE_WAKE_PIN, 0x5 })
10 #endif
12 #ifdef EC_ENABLE_SYNC_IRQ
13         Name (_CRS, ResourceTemplate ()
14         {
15                 Interrupt (ResourceConsumer, Level, ActiveLow, Exclusive)
16                 {
17                         EC_SYNC_IRQ
18                 }
19         })
20 #endif
22 #ifdef EC_ENABLE_SYNC_IRQ_GPIO
23         Name (_CRS, ResourceTemplate ()
24         {
25                 GpioInt (Level, ActiveLow, Exclusive, PullDefault, 0x0000,
26                          "\\_SB.GPIO", 0x00, ResourceConsumer, ,)
27                 {
28                         EC_SYNC_IRQ
29                 }
30         })
31 #endif
33 #ifdef EC_ENABLE_MKBP_DEVICE
34         Device (CKSC)
35         {
36                 Name (_HID, "GOOG0007")
37                 Name (_UID, 1)
38                 Name (_DDN, "EC MKBP Device")
39         }
40 #endif
42 #ifdef EC_ENABLE_CBAS_DEVICE
43         Device (CBAS)
44         {
45                 Name (_HID, "GOOG000B")
46                 Name (_UID, 1)
47                 Name (_DDN, "EC Base Switch Device")
48         }
49 #endif
51 #ifdef EC_ENABLE_PD_MCU_DEVICE
52         #include "pd.asl"
53 #endif
54         Method(_STA, 0)
55         {
56                 Return (0xB)
57         }
59 #if CONFIG(DRIVERS_ACPI_THERMAL_ZONE)
60         Method(TMP, 1)
61         {
62                 Return(^^TSRD(Arg0))
63         }
64 #endif