From 7931c6a81df82416ead196505411c4f6ff368429 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Fri, 19 Aug 2016 17:29:17 -0500 Subject: mb/asus/kgpe-d16: Add TPM support The ASUS KGPE-D16 accepts an optional Infineon LPC TPM module. Expose the TPM LPC device to the host operating system. Change-Id: If500e9162bf1e233ccaa35db79452daa59a34f2f Signed-off-by: Timothy Pearson Reviewed-on: https://review.coreboot.org/16269 Tested-by: build bot (Jenkins) Tested-by: Raptor Engineering Automated Test Stand Reviewed-by: Martin Roth --- src/mainboard/asus/kgpe-d16/Kconfig | 1 + src/mainboard/asus/kgpe-d16/devicetree.cb | 3 +++ src/mainboard/asus/kgpe-d16/dsdt.asl | 2 ++ 3 files changed, 6 insertions(+) (limited to 'src/mainboard/asus/kgpe-d16') diff --git a/src/mainboard/asus/kgpe-d16/Kconfig b/src/mainboard/asus/kgpe-d16/Kconfig index 23c91f03eb..ca1f0c81f7 100644 --- a/src/mainboard/asus/kgpe-d16/Kconfig +++ b/src/mainboard/asus/kgpe-d16/Kconfig @@ -30,6 +30,7 @@ config BOARD_SPECIFIC_OPTIONS # dummy select MMCONF_SUPPORT_DEFAULT select SPI_FLASH select SPI_FLASH_WINBOND + select MAINBOARD_HAS_LPC_TPM select HAVE_ACPI_RESUME select DRIVERS_I2C_W83795 select DRIVERS_ASPEED_AST2050 diff --git a/src/mainboard/asus/kgpe-d16/devicetree.cb b/src/mainboard/asus/kgpe-d16/devicetree.cb index ff2023ddd0..9039f6dea2 100644 --- a/src/mainboard/asus/kgpe-d16/devicetree.cb +++ b/src/mainboard/asus/kgpe-d16/devicetree.cb @@ -214,6 +214,9 @@ chip northbridge/amd/amdfam10/root_complex # Root complex device pnp 2e.d off end # VID_BUSSEL device pnp 2e.f off end # GPIO_PP_OD end + chip drivers/pc80/tpm + device pnp 4e.0 on end # TPM module + end end device pci 14.4 on # Bridge device pci 1.0 on end # VGA diff --git a/src/mainboard/asus/kgpe-d16/dsdt.asl b/src/mainboard/asus/kgpe-d16/dsdt.asl index d364f1f519..aa12e0e113 100644 --- a/src/mainboard/asus/kgpe-d16/dsdt.asl +++ b/src/mainboard/asus/kgpe-d16/dsdt.asl @@ -564,6 +564,8 @@ DefinitionBlock ( #include "../../../superio/winbond/w83667hg-a/ps2_controller.asl" + #include + /* UART 1 */ Device (URT1) { -- cgit v1.2.3