diff options
author | Angelos Mouzakitis <a.mouzakitis@virtualopensystems.com> | 2023-10-10 14:33:42 +0000 |
---|---|---|
committer | Angelos Mouzakitis <a.mouzakitis@virtualopensystems.com> | 2023-10-10 14:33:42 +0000 |
commit | af1a266670d040d2f4083ff309d732d648afba2a (patch) | |
tree | 2fc46203448ddcc6f81546d379abfaeb323575e9 /roms/skiboot/doc/device-tree/tpm.rst | |
parent | e02cda008591317b1625707ff8e115a4841aa889 (diff) |
Change-Id: Iaf8d18082d3991dec7c0ebbea540f092188eb4ec
Diffstat (limited to 'roms/skiboot/doc/device-tree/tpm.rst')
-rw-r--r-- | roms/skiboot/doc/device-tree/tpm.rst | 47 |
1 files changed, 47 insertions, 0 deletions
diff --git a/roms/skiboot/doc/device-tree/tpm.rst b/roms/skiboot/doc/device-tree/tpm.rst new file mode 100644 index 000000000..a8e67bc0f --- /dev/null +++ b/roms/skiboot/doc/device-tree/tpm.rst @@ -0,0 +1,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>; + }; + |