summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorTimothy Pearson <tpearson@raptorengineering.com>2016-08-19 17:29:17 -0500
committerTimothy Pearson <tpearson@raptorengineering.com>2016-08-22 19:03:23 +0200
commit7931c6a81df82416ead196505411c4f6ff368429 (patch)
treea918d9df0e409a5eff5375f3854cecf7b1a7ddd8 /src
parent1bc2b0bed0f75c81153ace65679e761a4cb1438c (diff)
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 <tpearson@raptorengineering.com> Reviewed-on: https://review.coreboot.org/16269 Tested-by: build bot (Jenkins) Tested-by: Raptor Engineering Automated Test Stand <noreply@raptorengineeringinc.com> Reviewed-by: Martin Roth <martinroth@google.com>
Diffstat (limited to 'src')
-rw-r--r--src/mainboard/asus/kgpe-d16/Kconfig1
-rw-r--r--src/mainboard/asus/kgpe-d16/devicetree.cb3
-rw-r--r--src/mainboard/asus/kgpe-d16/dsdt.asl2
3 files changed, 6 insertions, 0 deletions
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 <drivers/pc80/tpm/acpi/tpm.asl>
+
/* UART 1 */
Device (URT1)
{