summaryrefslogtreecommitdiff
path: root/src/mainboard/google/skyrim/variants/baseboard/devicetree.cb
diff options
context:
space:
mode:
authorJon Murphy <jpmurphy@google.com>2022-02-17 21:05:19 -0700
committerFelix Held <felix-coreboot@felixheld.de>2022-02-28 13:31:27 +0000
commit0bc013b15a28eb85316f408fdf33f1ba61061584 (patch)
treeae55707c56211174be1911ef0d6843b018cb2119 /src/mainboard/google/skyrim/variants/baseboard/devicetree.cb
parentee67ddc707fddbff30ecb173f7854f930eb63a92 (diff)
mb/google/skyrim: Enable AP <-> D2 communication
Configure D2 I2C and Interrupt GPIOs during the early initialization. Add devicetree configuration for D2 device and enable the required config items. BUG=b:214414776 TEST=Build Signed-off-by: Jon Murphy <jpmurphy@google.com> Change-Id: I57b6d0e9da9935596e54b8eab400440e518b4523 Reviewed-on: https://review.coreboot.org/c/coreboot/+/62163 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Raul Rangel <rrangel@chromium.org> Reviewed-by: Karthik Ramasubramanian <kramasub@google.com>
Diffstat (limited to 'src/mainboard/google/skyrim/variants/baseboard/devicetree.cb')
-rw-r--r--src/mainboard/google/skyrim/variants/baseboard/devicetree.cb9
1 files changed, 8 insertions, 1 deletions
diff --git a/src/mainboard/google/skyrim/variants/baseboard/devicetree.cb b/src/mainboard/google/skyrim/variants/baseboard/devicetree.cb
index a3440735c1..921ace9925 100644
--- a/src/mainboard/google/skyrim/variants/baseboard/devicetree.cb
+++ b/src/mainboard/google/skyrim/variants/baseboard/devicetree.cb
@@ -128,5 +128,12 @@ chip soc/amd/sabrina
device ref i2c_0 on end
device ref i2c_1 on end
device ref i2c_2 on end
- device ref i2c_3 on end
+ device ref i2c_3 on
+ chip drivers/i2c/tpm
+ register "hid" = ""GOOG0005""
+ register "desc" = ""Ti50 TPM""
+ register "irq_gpio" = "ACPI_GPIO_IRQ_EDGE_LOW(GPIO_18)"
+ device i2c 50 on end
+ end
+ end
end # chip soc/amd/sabrina