File: tpm.rst

package info (click to toggle)
skiboot 7.0%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 35,624 kB
  • sloc: ansic: 221,198; sh: 11,580; cpp: 5,767; python: 3,421; makefile: 1,773; asm: 1,503; perl: 1,479; tcl: 1,188; pascal: 107
file content (47 lines) | stat: -rw-r--r-- 1,095 bytes parent folder | download | duplicates (11)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
.. _device-tree/tpm:

Trusted Platform Module (TPM)
=============================

The tpm node describes a TPM device present in the platform. It also includes
event log information.

Required properties
-------------------

All these properties are consumed by skiboot and the linux kernel (tpm and
vtpm codes)

::

    compatible :       should have "nuvoton,npct650"

    linux,sml-base:    64-bit base address of the reserved memory allocated for firmware event log.
                       sml stands for shared memory log.

    linux,sml-size:    size of the memory allocated for firmware event log.


Optional properties
-------------------

::

    status:            indicates whether the device is enabled or disabled. "okay" for
                       enabled and "disabled" for disabled.

Example
-------

.. code-block:: dts

    tpm@57 {
    	reg = <0x57>;
    	compatible = "nuvoton,npct650", "nuvoton,npct601";
    	linux,sml-base = <0x7f 0xfd450000>;
    	linux,sml-size = <0x10000>;
    	status = "okay";
    	phandle = <0x10000017>;
    	linux,phandle = <0x10000017>;
    };