Gwendal Grignou | 866cc3d | 2016-05-03 23:24:53 -0700 | [diff] [blame] | 1 | /* |
| 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 | |
| 16 | Device (CREC) |
| 17 | { |
| 18 | Name (_HID, "GOOG0004") |
| 19 | Name (_UID, 1) |
| 20 | Name (_DDN, "EC Command Device") |
Furquan Shaikh | a20e0b2 | 2018-01-23 19:35:56 -0800 | [diff] [blame] | 21 | #ifdef EC_ENABLE_WAKE_PIN |
| 22 | Name (_PRW, Package () { EC_ENABLE_WAKE_PIN, 0x5 }) |
| 23 | #endif |
Furquan Shaikh | d4a0a34 | 2017-03-06 14:56:58 -0800 | [diff] [blame] | 24 | |
| 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 Grignou | 866cc3d | 2016-05-03 23:24:53 -0700 | [diff] [blame] | 33 | } |