xref: /freebsd-src/sys/contrib/device-tree/Bindings/security/tpm/tpm-i2c.txt (revision c66ec88fed842fbaad62c30d510644ceb7bd2d71)
1*c66ec88fSEmmanuel Vadot* Device Tree Bindings for I2C based Trusted Platform Module(TPM)
2*c66ec88fSEmmanuel Vadot
3*c66ec88fSEmmanuel VadotRequired properties:
4*c66ec88fSEmmanuel Vadot
5*c66ec88fSEmmanuel Vadot- compatible     : 'manufacturer,model', eg. nuvoton,npct650
6*c66ec88fSEmmanuel Vadot- label          : human readable string describing the device, eg. "tpm"
7*c66ec88fSEmmanuel Vadot- linux,sml-base : 64-bit base address of the reserved memory allocated for
8*c66ec88fSEmmanuel Vadot                   the firmware event log
9*c66ec88fSEmmanuel Vadot- linux,sml-size : size of the memory allocated for the firmware event log
10*c66ec88fSEmmanuel Vadot
11*c66ec88fSEmmanuel VadotOptional properties:
12*c66ec88fSEmmanuel Vadot
13*c66ec88fSEmmanuel Vadot- powered-while-suspended: present when the TPM is left powered on between
14*c66ec88fSEmmanuel Vadot                           suspend and resume (makes the suspend/resume
15*c66ec88fSEmmanuel Vadot                           callbacks do nothing).
16*c66ec88fSEmmanuel Vadot
17*c66ec88fSEmmanuel VadotExample (for OpenPower Systems with Nuvoton TPM 2.0 on I2C)
18*c66ec88fSEmmanuel Vadot----------------------------------------------------------
19*c66ec88fSEmmanuel Vadot
20*c66ec88fSEmmanuel Vadottpm@57 {
21*c66ec88fSEmmanuel Vadot	reg = <0x57>;
22*c66ec88fSEmmanuel Vadot	label = "tpm";
23*c66ec88fSEmmanuel Vadot	compatible = "nuvoton,npct650", "nuvoton,npct601";
24*c66ec88fSEmmanuel Vadot	linux,sml-base = <0x7f 0xfd450000>;
25*c66ec88fSEmmanuel Vadot	linux,sml-size = <0x10000>;
26*c66ec88fSEmmanuel Vadot};
27