xref: /freebsd/sys/contrib/device-tree/Bindings/security/tpm/tpm_tis_spi.txt (revision c66ec88fed842fbaad62c30d510644ceb7bd2d71)
1*c66ec88fSEmmanuel VadotRequired properties:
2*c66ec88fSEmmanuel Vadot- compatible: should be one of the following
3*c66ec88fSEmmanuel Vadot    "st,st33htpm-spi"
4*c66ec88fSEmmanuel Vadot    "infineon,slb9670"
5*c66ec88fSEmmanuel Vadot    "tcg,tpm_tis-spi"
6*c66ec88fSEmmanuel Vadot- spi-max-frequency: Maximum SPI frequency (depends on TPMs).
7*c66ec88fSEmmanuel Vadot
8*c66ec88fSEmmanuel VadotOptional SoC Specific Properties:
9*c66ec88fSEmmanuel Vadot- pinctrl-names: Contains only one value - "default".
10*c66ec88fSEmmanuel Vadot- pintctrl-0: Specifies the pin control groups used for this controller.
11*c66ec88fSEmmanuel Vadot
12*c66ec88fSEmmanuel VadotExample (for ARM-based BeagleBoard xM with TPM_TIS on SPI4):
13*c66ec88fSEmmanuel Vadot
14*c66ec88fSEmmanuel Vadot&mcspi4 {
15*c66ec88fSEmmanuel Vadot
16*c66ec88fSEmmanuel Vadot
17*c66ec88fSEmmanuel Vadot        tpm_tis@0 {
18*c66ec88fSEmmanuel Vadot
19*c66ec88fSEmmanuel Vadot                compatible = "tcg,tpm_tis-spi";
20*c66ec88fSEmmanuel Vadot
21*c66ec88fSEmmanuel Vadot                spi-max-frequency = <10000000>;
22*c66ec88fSEmmanuel Vadot        };
23*c66ec88fSEmmanuel Vadot};
24