u-boot-brain/doc/device-tree-bindings/tpm2/tis-tpm2-spi.txt
Bruno Thomsen 78cc3fcf08 tpm2: tis_spi: add linux compatible fallback string
This solves a compatibility issue with Linux device trees
that contain TPMv2.x hardware. So it's easier to import DTS
from upstream kernel when migrating board init from C code
to DTS.

The issue is that fallback binding is different between Linux
and u-Boot.

Linux: "tcg,tpm_tis-spi"
U-Boot: "tis,tpm2-spi"

As there are currently no in-tree users of the U-Boot binding,
it makes sense to use Linux fallback binding.

Signed-off-by: Bruno Thomsen <bruno.thomsen@gmail.com>
Reviewed-by: Tom Rini <trini@konsulko.com>
2020-07-08 15:38:32 -04:00

19 lines
389 B
Plaintext

ST33TPHF20 SPI TPMv2.0 bindings
-------------------------------
Required properties:
- compatible : Should be "tcg,tpm_tis-spi"
- reg : SPI Chip select
Optional properties:
- gpio-reset : Reset GPIO (if not connected to the SoC reset line)
- spi-max-frequency : See spi-bus.txt
Example:
tpm@1 {
compatible = "tcg,tpm_tis-spi";
reg = <1>;
spi-max-frequency = <10000000>;
};