From 381c21910aea3aaedc5a1cb1513bf29a06983545 Mon Sep 17 00:00:00 2001 From: Kapil Porwal Date: Wed, 20 Jul 2022 14:22:41 +0000 Subject: mb/google/rex: Add TPM device to Kconfig and devicetree Add TPM device for Rex. Device details: I2C Controller/Bus = 4 I2C Slave Address = 0x50 GPE = GPE0_DW1_03/GPP_E03 BUG=b:224325352 TEST=Verified in emulator that there is no regression Signed-off-by: Kapil Porwal Change-Id: Ifa3a5b503a203e3900049f27a54025156e22a285 Reviewed-on: https://review.coreboot.org/c/coreboot/+/66014 Reviewed-by: Subrata Banik Reviewed-by: Eric Lai Tested-by: build bot (Jenkins) --- src/mainboard/google/rex/variants/rex0/overridetree.cb | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'src/mainboard/google/rex/variants') diff --git a/src/mainboard/google/rex/variants/rex0/overridetree.cb b/src/mainboard/google/rex/variants/rex0/overridetree.cb index 65c1c81671..f5d9430b22 100644 --- a/src/mainboard/google/rex/variants/rex0/overridetree.cb +++ b/src/mainboard/google/rex/variants/rex0/overridetree.cb @@ -110,7 +110,13 @@ chip soc/intel/meteorlake device ref i2c2 on end device ref i2c3 on end device ref sata on end - device ref i2c4 on end + device ref i2c4 on + chip drivers/i2c/tpm + register "hid" = ""GOOG0005"" + register "irq" = "ACPI_IRQ_EDGE_LOW(GPP_E03_IRQ)" + device i2c 50 on end + end + end device ref i2c5 on end device ref pcie_rp5 on # Enable WLAN Card PCIE 5 using clk 5 -- cgit v1.2.3