mb/google/mancomb: Enable AP <-> H1 communication
BUG=b:182211161 TEST=builds Signed-off-by: Eric Lai <ericr_lai@compal.corp-partner.google.com> Change-Id: I29be8572bc7bb366347eabe553be49775dec46a8 Reviewed-on: https://review.coreboot.org/c/coreboot/+/52175 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Mathew King <mathewk@chromium.org>
This commit is contained in:
parent
8af6b57788
commit
c7d18636c0
|
@ -20,6 +20,8 @@ config BOARD_SPECIFIC_OPTIONS
|
||||||
select ELOG_GSMI
|
select ELOG_GSMI
|
||||||
select HAVE_ACPI_RESUME
|
select HAVE_ACPI_RESUME
|
||||||
select MAINBOARD_HAS_CHROMEOS
|
select MAINBOARD_HAS_CHROMEOS
|
||||||
|
select MAINBOARD_HAS_I2C_TPM_CR50
|
||||||
|
select MAINBOARD_HAS_TPM2
|
||||||
select SOC_AMD_CEZANNE
|
select SOC_AMD_CEZANNE
|
||||||
select SOC_AMD_COMMON_BLOCK_USE_ESPI
|
select SOC_AMD_COMMON_BLOCK_USE_ESPI
|
||||||
|
|
||||||
|
@ -49,6 +51,14 @@ config AMD_FWM_POSITION_INDEX
|
||||||
help
|
help
|
||||||
TODO: might need to be adapted for better placement of files in cbfs
|
TODO: might need to be adapted for better placement of files in cbfs
|
||||||
|
|
||||||
|
config DRIVER_TPM_I2C_BUS
|
||||||
|
hex
|
||||||
|
default 0x03
|
||||||
|
|
||||||
|
config DRIVER_TPM_I2C_ADDR
|
||||||
|
hex
|
||||||
|
default 0x50
|
||||||
|
|
||||||
config VARIANT_DIR
|
config VARIANT_DIR
|
||||||
string
|
string
|
||||||
default "mancomb" if BOARD_GOOGLE_MANCOMB
|
default "mancomb" if BOARD_GOOGLE_MANCOMB
|
||||||
|
|
|
@ -121,5 +121,13 @@ chip soc/amd/cezanne
|
||||||
device pnp 0c09.0 on end
|
device pnp 0c09.0 on end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
device ref i2c_3 on
|
||||||
|
chip drivers/i2c/tpm
|
||||||
|
register "hid" = ""GOOG0005""
|
||||||
|
register "desc" = ""Cr50 TPM""
|
||||||
|
register "irq_gpio" = "ACPI_GPIO_IRQ_EDGE_LOW(GPIO_3)"
|
||||||
|
device i2c 50 on end
|
||||||
|
end
|
||||||
|
end
|
||||||
end # domain
|
end # domain
|
||||||
end # chip soc/amd/cezanne
|
end # chip soc/amd/cezanne
|
||||||
|
|
|
@ -163,6 +163,12 @@ static const struct soc_amd_gpio base_gpio_table[] = {
|
||||||
|
|
||||||
/* Early GPIO configuration */
|
/* Early GPIO configuration */
|
||||||
static const struct soc_amd_gpio early_gpio_table[] = {
|
static const struct soc_amd_gpio early_gpio_table[] = {
|
||||||
|
/* GSC_SOC_INT_L */
|
||||||
|
PAD_INT(GPIO_3, PULL_NONE, EDGE_LOW, STATUS_DELIVERY),
|
||||||
|
/* I2C3_SCL */
|
||||||
|
PAD_NF(GPIO_19, I2C3_SCL, PULL_NONE),
|
||||||
|
/* I2C3_SDA */
|
||||||
|
PAD_NF(GPIO_20, I2C3_SDA, PULL_NONE),
|
||||||
/* ESPI1_DATA0 */
|
/* ESPI1_DATA0 */
|
||||||
PAD_NF(GPIO_104, SPI2_DO_ESPI2_D0, PULL_NONE),
|
PAD_NF(GPIO_104, SPI2_DO_ESPI2_D0, PULL_NONE),
|
||||||
/* ESPI1_DATA1 */
|
/* ESPI1_DATA1 */
|
||||||
|
|
Loading…
Reference in New Issue