acpi: add missing ssdt
[qemu/ar7.git] / hw / i386 / ssdt-tpm-common.dsl
blob9da49700d1f3ff2b6fa5d3170548ad0a4150a293
1 /*
2  * This program is free software; you can redistribute it and/or modify
3  * it under the terms of the GNU General Public License as published by
4  * the Free Software Foundation; either version 2 of the License, or
5  * (at your option) any later version.
7  * This program is distributed in the hope that it will be useful,
8  * but WITHOUT ANY WARRANTY; without even the implied warranty of
9  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
10  * GNU General Public License for more details.
12  * You should have received a copy of the GNU General Public License along
13  * with this program; if not, see <http://www.gnu.org/licenses/>.
14  */
17  * Common parts for TPM 1.2 and TPM 2 (with slight differences for PPI)
18  * to be #included
19  */
22     External(\_SB.PCI0.ISA, DeviceObj)
23     Scope(\_SB.PCI0.ISA) {
24         /* TPM with emulated TPM TIS interface */
25         Device (TPM) {
26             Name (_HID, EisaID ("PNP0C31"))
27             Name (_CRS, ResourceTemplate ()
28             {
29                 Memory32Fixed (ReadWrite, TPM_TIS_ADDR_BASE, TPM_TIS_ADDR_SIZE)
30                 IRQNoFlags () {TPM_TIS_IRQ}
31             })
32             Method (_STA, 0, NotSerialized) {
33                 Return (0x0F)
34             }
35         }
36     }