[coreboot-gerrit] Change in coreboot[master]: mainboard/google/poppy: Enable H1 I2C TPM

Furquan Shaikh (Code Review) gerrit at coreboot.org
Tue May 2 00:48:47 CEST 2017


Furquan Shaikh has uploaded a new change for review. ( https://review.coreboot.org/19519 )

Change subject: mainboard/google/poppy: Enable H1 I2C TPM
......................................................................

mainboard/google/poppy: Enable H1 I2C TPM

BUG=b:36265511

Change-Id: Id9947dce9b7f755971f0199f043af8d251d275ab
---
M src/mainboard/google/poppy/Kconfig
M src/mainboard/google/poppy/variants/baseboard/devicetree.cb
2 files changed, 8 insertions(+), 1 deletion(-)


  git pull ssh://review.coreboot.org:29418/coreboot refs/changes/19/19519/1

diff --git a/src/mainboard/google/poppy/Kconfig b/src/mainboard/google/poppy/Kconfig
index 9aea338..0b5220b 100644
--- a/src/mainboard/google/poppy/Kconfig
+++ b/src/mainboard/google/poppy/Kconfig
@@ -14,6 +14,7 @@
 	select MAINBOARD_HAS_CHROMEOS
 	select MAINBOARD_USES_FSP2_0
 	select NO_FADT_8042
+	select POPPY_USE_I2C_TPM
 	select SOC_INTEL_KABYLAKE
 
 if BOARD_GOOGLE_BASEBOARD_POPPY
diff --git a/src/mainboard/google/poppy/variants/baseboard/devicetree.cb b/src/mainboard/google/poppy/variants/baseboard/devicetree.cb
index 4e3ffaf..39739e8 100644
--- a/src/mainboard/google/poppy/variants/baseboard/devicetree.cb
+++ b/src/mainboard/google/poppy/variants/baseboard/devicetree.cb
@@ -213,7 +213,13 @@
 				device i2c 4b on end
 			end
 		end # I2C #0
-		device pci 15.1 on  end # I2C #1
+		device pci 15.1 on
+			chip drivers/i2c/tpm
+				register "hid" = ""GOOG0005""
+				register "irq" = "ACPI_IRQ_EDGE_LOW(GPP_E0_IRQ)"
+				device i2c 50 on end
+			end
+		end # I2C #1
 		device pci 15.2 on
 			chip drivers/intel/mipi_camera
 				register "acpi_hid" = ""INT3472""

-- 
To view, visit https://review.coreboot.org/19519
To unsubscribe, visit https://review.coreboot.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Id9947dce9b7f755971f0199f043af8d251d275ab
Gerrit-PatchSet: 1
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Owner: Furquan Shaikh <furquan at google.com>



More information about the coreboot-gerrit mailing list