1.. _device-tree/tpm:
2
3Trusted Platform Module (TPM)
4=============================
5
6The tpm node describes a TPM device present in the platform. It also includes
7event log information.
8
9Required properties
10-------------------
11
12All these properties are consumed by skiboot and the linux kernel (tpm and
13vtpm codes)
14
15::
16
17    compatible :       should have "nuvoton,npct650"
18
19    linux,sml-base:    64-bit base address of the reserved memory allocated for firmware event log.
20                       sml stands for shared memory log.
21
22    linux,sml-size:    size of the memory allocated for firmware event log.
23
24
25Optional properties
26-------------------
27
28::
29
30    status:            indicates whether the device is enabled or disabled. "okay" for
31                       enabled and "disabled" for disabled.
32
33Example
34-------
35
36.. code-block:: dts
37
38    tpm@57 {
39    	reg = <0x57>;
40    	compatible = "nuvoton,npct650", "nuvoton,npct601";
41    	linux,sml-base = <0x7f 0xfd450000>;
42    	linux,sml-size = <0x10000>;
43    	status = "okay";
44    	phandle = <0x10000017>;
45    	linux,phandle = <0x10000017>;
46    };
47
48