summaryrefslogtreecommitdiff
path: root/src/mainboard/msi
diff options
context:
space:
mode:
Diffstat (limited to 'src/mainboard/msi')
-rw-r--r--src/mainboard/msi/ms7d25/Kconfig4
-rw-r--r--src/mainboard/msi/ms7d25/devicetree.cb3
-rw-r--r--src/mainboard/msi/ms7d25/gpio.h4
-rw-r--r--src/mainboard/msi/ms7e06/Kconfig4
-rw-r--r--src/mainboard/msi/ms7e06/devicetree.cb3
-rw-r--r--src/mainboard/msi/ms7e06/gpio.h4
6 files changed, 18 insertions, 4 deletions
diff --git a/src/mainboard/msi/ms7d25/Kconfig b/src/mainboard/msi/ms7d25/Kconfig
index ab9fa2b4a8..1b23f0354a 100644
--- a/src/mainboard/msi/ms7d25/Kconfig
+++ b/src/mainboard/msi/ms7d25/Kconfig
@@ -16,6 +16,7 @@ config BOARD_MSI_MS7D25
select HAVE_ACPI_RESUME
select HAVE_ACPI_TABLES
select INTEL_GMA_HAVE_VBT
+ select MEMORY_MAPPED_TPM
select CRB_TPM
select HAVE_INTEL_PTT
select USE_LEGACY_8254_TIMER
@@ -53,6 +54,9 @@ config CBFS_SIZE
hex
default 0x1000000
+config TPM_PIRQ
+ default 0x3f # GPP_E7_IRQ
+
config VBOOT
select GBB_FLAG_DISABLE_EC_SOFTWARE_SYNC
select GBB_FLAG_DISABLE_FWMP
diff --git a/src/mainboard/msi/ms7d25/devicetree.cb b/src/mainboard/msi/ms7d25/devicetree.cb
index f0c8d2d287..d7d83cdb29 100644
--- a/src/mainboard/msi/ms7d25/devicetree.cb
+++ b/src/mainboard/msi/ms7d25/devicetree.cb
@@ -241,6 +241,9 @@ chip soc/intel/alderlake
device pnp 4e.e off end # TACH/PWM assignment
device pnp 4e.f off end # Function register
end
+ chip drivers/pc80/tpm
+ device pnp 0.0 on end # TPM
+ end
end
device ref p2sb on end
device ref hda on
diff --git a/src/mainboard/msi/ms7d25/gpio.h b/src/mainboard/msi/ms7d25/gpio.h
index 02b171acc3..2d7e4fbbad 100644
--- a/src/mainboard/msi/ms7d25/gpio.h
+++ b/src/mainboard/msi/ms7d25/gpio.h
@@ -536,8 +536,8 @@ static const struct pad_config gpio_table[] = {
PAD_CFG_GPI_TRIG_OWN(GPP_E5, NONE, PLTRST, OFF, ACPI),
/* GPP_E6 - GPIO */
PAD_CFG_GPI_TRIG_OWN(GPP_E6, NONE, PLTRST, OFF, ACPI),
- /* GPP_E7 - GPIO */
- PAD_CFG_GPI_TRIG_OWN(GPP_E7, NONE, PLTRST, OFF, ACPI),
+ /* GPP_E7 - TPM_PIRQ# */
+ PAD_CFG_GPI_APIC_LOW(GPP_E7, NONE, PLTRST),
/* GPP_E8 - SATALED# */
PAD_CFG_NF(GPP_E8, NONE, PLTRST, NF1),
/* GPP_E9 - USB_OC0# */
diff --git a/src/mainboard/msi/ms7e06/Kconfig b/src/mainboard/msi/ms7e06/Kconfig
index cfa644798d..b0ba216356 100644
--- a/src/mainboard/msi/ms7e06/Kconfig
+++ b/src/mainboard/msi/ms7e06/Kconfig
@@ -16,6 +16,7 @@ config BOARD_MSI_MS7E06
select HAVE_ACPI_RESUME
select HAVE_ACPI_TABLES
select INTEL_GMA_HAVE_VBT
+ select MEMORY_MAPPED_TPM
select CRB_TPM
select HAVE_INTEL_PTT
@@ -46,6 +47,9 @@ config USE_LEGACY_8254_TIMER
config CBFS_SIZE
default 0x1000000
+config TPM_PIRQ
+ default 0x3f # GPP_E7_IRQ
+
config VBOOT
select GBB_FLAG_DISABLE_EC_SOFTWARE_SYNC
select GBB_FLAG_DISABLE_FWMP
diff --git a/src/mainboard/msi/ms7e06/devicetree.cb b/src/mainboard/msi/ms7e06/devicetree.cb
index 65ba314feb..cfe6b508f4 100644
--- a/src/mainboard/msi/ms7e06/devicetree.cb
+++ b/src/mainboard/msi/ms7e06/devicetree.cb
@@ -231,6 +231,9 @@ chip soc/intel/alderlake
device pnp 4e.e off end # TACH/PWM assignment
device pnp 4e.f off end # Function register
end
+ chip drivers/pc80/tpm
+ device pnp 0.0 on end # TPM
+ end
end
device ref hda on
subsystemid 0x1462 0x9e06
diff --git a/src/mainboard/msi/ms7e06/gpio.h b/src/mainboard/msi/ms7e06/gpio.h
index 413ada8ef3..71b30e0c8c 100644
--- a/src/mainboard/msi/ms7e06/gpio.h
+++ b/src/mainboard/msi/ms7e06/gpio.h
@@ -536,8 +536,8 @@ static const struct pad_config gpio_table[] = {
PAD_CFG_GPI_TRIG_OWN(GPP_E5, NONE, PLTRST, OFF, ACPI),
/* GPP_E6 - GPIO */
PAD_CFG_GPI_TRIG_OWN(GPP_E6, NONE, PLTRST, OFF, ACPI),
- /* GPP_E7 - GPIO */
- PAD_CFG_GPI_TRIG_OWN(GPP_E7, NONE, PLTRST, OFF, ACPI),
+ /* GPP_E7 - TPM_PIRQ# */
+ PAD_CFG_GPI_APIC_LOW(GPP_E7, NONE, PLTRST),
/* GPP_E8 - SATALED# */
PAD_CFG_NF(GPP_E8, NONE, PLTRST, NF1),
/* GPP_E9 - USB_OC0# */