mb/google/dedede/variants/haboki: add discrete TPM in overridetree

Haboki is project which use discrete TPM, so add discrete TPM and
disable cr50 in overrideree.

BUG=b:187094464
TEST=FW_NAME=haboki emerge-keeby coreboot chromeos-bootimage

Signed-off-by: Wisley Chen <wisley.chen@quanta.corp-partner.google.com>
Change-Id: I08f2a562c3f62c60402350151ea260b70890a744
Reviewed-on: https://review.coreboot.org/c/coreboot/+/56829
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Karthik Ramasubramanian <kramasub@google.com>
Reviewed-by: Nick Vaccaro <nvaccaro@google.com>
This commit is contained in:
Wisley Chen 2021-08-05 18:10:43 +06:00 committed by Nick Vaccaro
parent f3c4f29ddd
commit eb07e4c957
1 changed files with 9 additions and 4 deletions

View File

@ -18,10 +18,6 @@ chip soc/intel/jasperlake
#| I2C4 | Audio |
#+-------------------+---------------------------+
register "common_soc_config" = "{
.gspi[0] = {
.speed_mhz = 1,
.early_init = 1,
},
.i2c[0] = {
.speed = I2C_SPEED_FAST,
},
@ -46,6 +42,9 @@ chip soc/intel/jasperlake
register "tcc_offset" = "20" # TCC of 85C
register "SerialIoGSpiMode[PchSerialIoIndexGSPI0]" = "PchSerialIoDisabled" # Disable GSPI0
register "SerialIoGSpiCsMode[PchSerialIoIndexGSPI0]" = "0"
# Enable Acoustic noise mitigation and set slew rate to 1/4
# Rest of the parameters are 0 by default.
register "AcousticNoiseMitigation" = "1"
@ -296,6 +295,12 @@ chip soc/intel/jasperlake
device i2c 1a on end
end
end #I2C 4
device pci 1f.0 on
chip drivers/pc80/tpm
device pnp 0c31.0 on end # Discrete TPM
end # chip drivers/pc80/tpm
end # PCH eSPI
device pci 1e.2 off end # GSPI 0
device pci 1f.3 on
chip drivers/generic/max98357a
register "hid" = ""MX98360A""