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