1/** @file 2 3The Infineon SLB9645 TPM ACPI definition block. 4Provides TPM device info. and TPM presence check only. 5 6Copyright (c) 2013-2015 Intel Corporation. 7 8This program and the accompanying materials 9are licensed and made available under the terms and conditions of the BSD License 10which accompanies this distribution. The full text of the license may be found at 11http://opensource.org/licenses/bsd-license.php 12 13THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, 14WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. 15 16**/ 17 18Device (TPM) 19{ 20 // 21 // Define _HID as Infineon TPM Device, _CID as "PNP0C31" (defined in 22 // "Secure Startup-FVE and TPM Admin BIOS and Platform Requirements"). 23 // 24 Name(_HID ,EISAID("INT3493")) 25 Name(_CID, EISAID("PNP0C31")) 26 27 // 28 // Readable name of this device. 29 // 30 Name (_STR, Unicode ("Infineon TPM 1.2 Device (SLB9645TT1.2)")) 31 32 // 33 // Return the resource consumed by TPM device. 34 // 35 Name (_CRS, ResourceTemplate () { 36 I2cSerialBus (0x20, ControllerInitiated, 0x00061A80, AddressingMode7Bit, "\\_SB.PCI0.GIP0.I2C_", 0, ResourceConsumer,,) 37 }) 38 39 // 40 // Check if TPM present. 41 // 42 Method (_STA, 0) 43 { 44 if (LEqual (TPMP, 0)) 45 { 46 return (0) 47 } 48 Return (0x0f) 49 } 50 51} 52