aboutsummaryrefslogtreecommitdiff
path: root/src/mainboard/siemens/mc_apl1/variants/mc_apl2/devicetree.cb
diff options
context:
space:
mode:
authorMario Scheithauer <mario.scheithauer@siemens.com>2019-01-28 16:18:45 +0100
committerPatrick Georgi <pgeorgi@google.com>2019-01-30 11:00:28 +0000
commit67be491458198f90803440e41cabe79f58afaae2 (patch)
tree79c93814f77798341f5a46964e0c830446f987cb /src/mainboard/siemens/mc_apl1/variants/mc_apl2/devicetree.cb
parent1c105b0c8a4c1910689d9fb5b233e79a2f866c65 (diff)
siemens/mc_apl2: Activate TPM support
The TPM chip is connected to the SPI interface of APL. The proper chip select pin needs to be used in order to access the TPM in the memory mapped space. This needed chip select is internally (inside APL) routable to GPIO 106. Therefore the change of GPIO 106 mode is needed to make the TPM work on SPI bus. TEST=Build coreboot for mc_apl2 board and check the TPM console output. In addition the TPM was correctly verified by our Linux driver. Change-Id: I2b0d5a6f2c230187857c2428a70de61f21da6724 Signed-off-by: Mario Scheithauer <mario.scheithauer@siemens.com> Reviewed-on: https://review.coreboot.org/c/31125 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Nico Huber <nico.h@gmx.de>
Diffstat (limited to 'src/mainboard/siemens/mc_apl1/variants/mc_apl2/devicetree.cb')
-rw-r--r--src/mainboard/siemens/mc_apl1/variants/mc_apl2/devicetree.cb5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/mainboard/siemens/mc_apl1/variants/mc_apl2/devicetree.cb b/src/mainboard/siemens/mc_apl1/variants/mc_apl2/devicetree.cb
index 42c4310d8f..d2d5394fcf 100644
--- a/src/mainboard/siemens/mc_apl1/variants/mc_apl2/devicetree.cb
+++ b/src/mainboard/siemens/mc_apl1/variants/mc_apl2/devicetree.cb
@@ -104,6 +104,11 @@ chip soc/intel/apollolake
device pci 1d.0 off end # - UFS
device pci 1e.0 off end # - SDIO
device pci 1f.0 on end # - LPC
+ device pci 1f.0 on # - LPC
+ chip drivers/pc80/tpm
+ device pnp 0c31.0 on end
+ end
+ end
device pci 1f.1 on end # - SMBUS
end
end