]> git.proxmox.com Git - mirror_edk2.git/blob - QuarkPlatformPkg/Acpi/AcpiTables/Dsdt/Tpm.asi
716265596d72788f093dc37e409cdc5b95b9e230
[mirror_edk2.git] / QuarkPlatformPkg / Acpi / AcpiTables / Dsdt / Tpm.asi
1 /** @file
2
3 The Infineon SLB9645 TPM ACPI definition block.
4 Provides TPM device info. and TPM presence check only.
5
6 Copyright (c) 2013-2015 Intel Corporation.
7
8 SPDX-License-Identifier: BSD-2-Clause-Patent
9
10 **/
11
12 Device (TPM)
13 {
14 //
15 // Define _HID as Infineon TPM Device, _CID as "PNP0C31" (defined in
16 // "Secure Startup-FVE and TPM Admin BIOS and Platform Requirements").
17 //
18 Name(_HID ,EISAID("INT3493"))
19 Name(_CID, EISAID("PNP0C31"))
20
21 //
22 // Readable name of this device.
23 //
24 Name (_STR, Unicode ("Infineon TPM 1.2 Device (SLB9645TT1.2)"))
25
26 //
27 // Return the resource consumed by TPM device.
28 //
29 Name (_CRS, ResourceTemplate () {
30 I2cSerialBus (0x20, ControllerInitiated, 0x00061A80, AddressingMode7Bit, "\\_SB.PCI0.GIP0.I2C_", 0, ResourceConsumer,,)
31 })
32
33 //
34 // Check if TPM present.
35 //
36 Method (_STA, 0)
37 {
38 if (LEqual (TPMP, 0))
39 {
40 return (0)
41 }
42 Return (0x0f)
43 }
44
45 }