aboutsummaryrefslogtreecommitdiff
path: root/src/mainboard/google/poppy/variants/baseboard/devicetree.cb
diff options
context:
space:
mode:
authorFurquan Shaikh <furquan@chromium.org>2017-12-04 12:16:22 -0800
committerFurquan Shaikh <furquan@google.com>2017-12-06 18:23:51 +0000
commitbea9b473d12f4c802eec78ef9cf7c5f5004e696a (patch)
treec438da2414bc3cb671d839aadd333077a6b2b0a1 /src/mainboard/google/poppy/variants/baseboard/devicetree.cb
parentdf6b51baee8faf1bc726993cdbfc12c219364a92 (diff)
mb/google/poppy: Disable SPI TPM
Mainboard poppy is no longer using SPI TPM. This change disables GSPI0 in device tree and udpates gpio configuration accordingly. Change-Id: I713e41c45e323bf13aa79412ec679c90121a52b2 Signed-off-by: Furquan Shaikh <furquan@chromium.org> Reviewed-on: https://review.coreboot.org/22698 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Aaron Durbin <adurbin@chromium.org>
Diffstat (limited to 'src/mainboard/google/poppy/variants/baseboard/devicetree.cb')
-rw-r--r--src/mainboard/google/poppy/variants/baseboard/devicetree.cb18
1 files changed, 2 insertions, 16 deletions
diff --git a/src/mainboard/google/poppy/variants/baseboard/devicetree.cb b/src/mainboard/google/poppy/variants/baseboard/devicetree.cb
index 232aea5cc3..22ef9aac55 100644
--- a/src/mainboard/google/poppy/variants/baseboard/devicetree.cb
+++ b/src/mainboard/google/poppy/variants/baseboard/devicetree.cb
@@ -235,13 +235,6 @@ chip soc/intel/skylake
}"
- # Use GSPI0 for cr50 TPM. Early init is required to set up a BAR for TPM
- # communication before memory is up.
- register "gspi[0]" = "{
- .speed_mhz = 1,
- .early_init = 1,
- }"
-
# Must leave UART0 enabled or SD/eMMC will not work as PCI
register "SerialIoDevMode" = "{
[PchSerialIoIndexI2C0] = PchSerialIoPci,
@@ -250,7 +243,7 @@ chip soc/intel/skylake
[PchSerialIoIndexI2C3] = PchSerialIoPci,
[PchSerialIoIndexI2C4] = PchSerialIoPci,
[PchSerialIoIndexI2C5] = PchSerialIoPci,
- [PchSerialIoIndexSpi0] = PchSerialIoPci,
+ [PchSerialIoIndexSpi0] = PchSerialIoDisabled,
[PchSerialIoIndexSpi1] = PchSerialIoDisabled,
[PchSerialIoIndexUart0] = PchSerialIoPci,
[PchSerialIoIndexUart1] = PchSerialIoDisabled,
@@ -374,14 +367,7 @@ chip soc/intel/skylake
device pci 1d.3 off end # PCI Express Port 12
device pci 1e.0 on end # UART #0
device pci 1e.1 off end # UART #1
- device pci 1e.2 on
- chip drivers/spi/acpi
- register "hid" = "ACPI_DT_NAMESPACE_HID"
- register "compat_string" = ""google,cr50""
- register "irq" = "ACPI_IRQ_EDGE_LOW(GPP_E0_IRQ)"
- device spi 0 on end
- end
- end # GSPI #0
+ device pci 1e.2 off end # GSPI #0
device pci 1e.3 off end # GSPI #1
device pci 1e.4 on end # eMMC
device pci 1e.5 off end # SDIO