blob: b246fe33fa30f8a9cd9fbc63218502fc5646add6 [file] [log] [blame]
Gwendal Grignou866cc3d2016-05-03 23:24:53 -07001/*
2 * This file is part of the coreboot project.
3 *
4 * Copyright 2016 Google Inc.
5 *
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License as published by
8 * the Free Software Foundation; version 2 of the License.
9 *
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.
14 */
15
16Device (CREC)
17{
18 Name (_HID, "GOOG0004")
19 Name (_UID, 1)
20 Name (_DDN, "EC Command Device")
Furquan Shaikha20e0b22018-01-23 19:35:56 -080021#ifdef EC_ENABLE_WAKE_PIN
22 Name (_PRW, Package () { EC_ENABLE_WAKE_PIN, 0x5 })
23#endif
Furquan Shaikhd4a0a342017-03-06 14:56:58 -080024
25#ifdef EC_ENABLE_MKBP_DEVICE
26 Device (CKSC)
27 {
28 Name (_HID, "GOOG0007")
29 Name (_UID, 1)
30 Name (_DDN, "EC MKBP Device")
31 }
32#endif
Gwendal Grignou866cc3d2016-05-03 23:24:53 -070033}