Lee Leahy | c421041 | 2015-06-29 11:37:56 -0700 | [diff] [blame] | 1 | /* |
| 2 | * This file is part of the coreboot project. |
| 3 | * |
| 4 | * Copyright (C) 2014 Google Inc. |
| 5 | * Copyright (C) 2015 Intel Corporation. |
| 6 | * |
| 7 | * This program is free software; you can redistribute it and/or modify |
| 8 | * it under the terms of the GNU General Public License as published by |
| 9 | * the Free Software Foundation; version 2 of the License. |
| 10 | * |
| 11 | * This program is distributed in the hope that it will be useful, |
| 12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 14 | * GNU General Public License for more details. |
Lee Leahy | c421041 | 2015-06-29 11:37:56 -0700 | [diff] [blame] | 15 | */ |
| 16 | |
Wenkai Du | 3b16925 | 2015-08-24 10:31:30 -0700 | [diff] [blame] | 17 | #include "../gpio.h" |
| 18 | |
Lee Leahy | c421041 | 2015-06-29 11:37:56 -0700 | [diff] [blame] | 19 | Scope (\_SB) |
| 20 | { |
| 21 | Device (LID0) |
| 22 | { |
Duncan Laurie | 74b964e | 2015-09-04 10:41:02 -0700 | [diff] [blame] | 23 | Name (_HID, EisaId ("PNP0C0D")) |
Lee Leahy | c421041 | 2015-06-29 11:37:56 -0700 | [diff] [blame] | 24 | Method (_LID, 0) |
| 25 | { |
| 26 | Return (\_SB.PCI0.LPCB.EC0.LIDS) |
| 27 | } |
Wenkai Du | 3b16925 | 2015-08-24 10:31:30 -0700 | [diff] [blame] | 28 | |
| 29 | Name (_PRW, Package () { GPE_EC_WAKE, 5 }) |
Lee Leahy | c421041 | 2015-06-29 11:37:56 -0700 | [diff] [blame] | 30 | } |
| 31 | |
| 32 | Device (PWRB) |
| 33 | { |
Duncan Laurie | 74b964e | 2015-09-04 10:41:02 -0700 | [diff] [blame] | 34 | Name (_HID, EisaId ("PNP0C0C")) |
Lee Leahy | c421041 | 2015-06-29 11:37:56 -0700 | [diff] [blame] | 35 | } |
| 36 | } |
Duncan Laurie | 74b964e | 2015-09-04 10:41:02 -0700 | [diff] [blame] | 37 | |
Lee Leahy | c421041 | 2015-06-29 11:37:56 -0700 | [diff] [blame] | 38 | /* |
| 39 | * LPC Trusted Platform Module |
| 40 | */ |
| 41 | Scope (\_SB.PCI0.LPCB) |
| 42 | { |
| 43 | #include <drivers/pc80/tpm/acpi/tpm.asl> |
| 44 | } |