xref: /openbmc/linux/Documentation/devicetree/bindings/security/tpm/google,cr50.txt (revision c95baf12f5077419db01313ab61c2aac007d40cd)
1*fb8d6c8dSAndrey Pronin* H1 Secure Microcontroller with Cr50 Firmware on SPI Bus.
2*fb8d6c8dSAndrey Pronin
3*fb8d6c8dSAndrey ProninH1 Secure Microcontroller running Cr50 firmware provides several
4*fb8d6c8dSAndrey Proninfunctions, including TPM-like functionality. It communicates over
5*fb8d6c8dSAndrey ProninSPI using the FIFO protocol described in the PTP Spec, section 6.
6*fb8d6c8dSAndrey Pronin
7*fb8d6c8dSAndrey ProninRequired properties:
8*fb8d6c8dSAndrey Pronin- compatible: Should be "google,cr50".
9*fb8d6c8dSAndrey Pronin- spi-max-frequency: Maximum SPI frequency.
10*fb8d6c8dSAndrey Pronin
11*fb8d6c8dSAndrey ProninExample:
12*fb8d6c8dSAndrey Pronin
13*fb8d6c8dSAndrey Pronin&spi0 {
14*fb8d6c8dSAndrey Pronin	tpm@0 {
15*fb8d6c8dSAndrey Pronin		compatible = "google,cr50";
16*fb8d6c8dSAndrey Pronin		reg = <0>;
17*fb8d6c8dSAndrey Pronin		spi-max-frequency = <800000>;
18*fb8d6c8dSAndrey Pronin	};
19*fb8d6c8dSAndrey Pronin};
20