aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLean Sheng Tan <sheng.tan@9elements.com>2022-04-19 17:34:46 +0200
committerFelix Held <felix-coreboot@felixheld.de>2022-04-20 19:48:59 +0000
commit9aa7a25c2d0eec48f8adcfeb73e14ac006cad8a8 (patch)
tree9256db1a494223686a012114fe3418cd5deddf59
parentf84c8289fe44ebd8efcdc4bbdcc28d6ca4fd41c2 (diff)
mb/prodrive/atlas: Enable SPI TPM 2.0
Enable SPI dTPM using eSPI bus. Signed-off-by: Lean Sheng Tan <sheng.tan@9elements.com> Change-Id: I18ca41c143ade024ee2840b619ba777b22a2a86a Reviewed-on: https://review.coreboot.org/c/coreboot/+/63720 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Angel Pons <th3fanbus@gmail.com>
-rw-r--r--src/mainboard/prodrive/atlas/Kconfig2
-rw-r--r--src/mainboard/prodrive/atlas/devicetree.cb5
2 files changed, 7 insertions, 0 deletions
diff --git a/src/mainboard/prodrive/atlas/Kconfig b/src/mainboard/prodrive/atlas/Kconfig
index 7f92b66fbc..d9169c2cd9 100644
--- a/src/mainboard/prodrive/atlas/Kconfig
+++ b/src/mainboard/prodrive/atlas/Kconfig
@@ -7,6 +7,8 @@ config BOARD_PRODRIVE_ATLAS_BASEBOARD
select HAVE_ACPI_TABLES
select MAINBOARD_USES_IFD_EC_REGION
select SOC_INTEL_ALDERLAKE_PCH_P
+ select MAINBOARD_HAS_TPM2
+ select MAINBOARD_HAS_LPC_TPM
if BOARD_PRODRIVE_ATLAS_BASEBOARD
diff --git a/src/mainboard/prodrive/atlas/devicetree.cb b/src/mainboard/prodrive/atlas/devicetree.cb
index 0170fc2f1a..6dfb8a213d 100644
--- a/src/mainboard/prodrive/atlas/devicetree.cb
+++ b/src/mainboard/prodrive/atlas/devicetree.cb
@@ -103,6 +103,11 @@ chip soc/intel/alderlake
device ref pcie_rp10 on end
device ref uart0 on end
device ref uart1 on end
+ device ref pch_espi on
+ chip drivers/pc80/tpm
+ device pnp 0c31.0 on end
+ end
+ end
device ref p2sb on end
device ref hda on end
device ref smbus on end