From 3044af7adc652f41670f8de0c3c54bc09f632079 Mon Sep 17 00:00:00 2001 From: Matt DeVillier Date: Wed, 1 Aug 2018 13:05:14 -0500 Subject: mb/google,samsung/*: Add LPC TPM chip driver to devicetree With commits 9987534 [southbridge/intel: Remove leftover TPM ACPI code] and 66ce18c [soc/intel: Remove legacy static TPM asl code] removing TPM ASL code from the southbridge's LPCB device, the LPC TPM chip driver (drivers/pc80/tpm) must be added to devicetree in order to ensure the new acpigen code is used to replace it. Test: boot various google/samsung boards, verify SSDT created with LPBC.TPM device and TPM visible to and usable by SeaBIOS and Linux Change-Id: Iedaa01f26fb357914549bb3dda24b0bd6ef67480 Signed-off-by: Matt DeVillier Reviewed-on: https://review.coreboot.org/27786 Reviewed-by: Philipp Deppenwiese Reviewed-by: Arthur Heymans Reviewed-by: Paul Menzel Tested-by: build bot (Jenkins) --- src/mainboard/samsung/lumpy/devicetree.cb | 3 +++ src/mainboard/samsung/stumpy/devicetree.cb | 3 +++ 2 files changed, 6 insertions(+) (limited to 'src/mainboard/samsung') diff --git a/src/mainboard/samsung/lumpy/devicetree.cb b/src/mainboard/samsung/lumpy/devicetree.cb index 0dd32280cd..0362b2c6cd 100644 --- a/src/mainboard/samsung/lumpy/devicetree.cb +++ b/src/mainboard/samsung/lumpy/devicetree.cb @@ -119,6 +119,9 @@ chip northbridge/intel/sandybridge register "base" = "(void *)0xfec00000" device ioapic 4 on end end + chip drivers/pc80/tpm + device pnp 0c31.0 on end + end end device pci 1f.2 on # SATA Controller 1 ioapic_irq 4 INTA 0x10 diff --git a/src/mainboard/samsung/stumpy/devicetree.cb b/src/mainboard/samsung/stumpy/devicetree.cb index adc15e668e..825dfa0d2c 100644 --- a/src/mainboard/samsung/stumpy/devicetree.cb +++ b/src/mainboard/samsung/stumpy/devicetree.cb @@ -116,6 +116,9 @@ chip northbridge/intel/sandybridge end # Mouse device pnp 2e.a off end # IR end + chip drivers/pc80/tpm + device pnp 0c31.0 on end + end end device pci 1f.2 on end # SATA Controller 1 device pci 1f.3 on end # SMBus -- cgit v1.2.3