aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorClaudio Carvalho <cclaudio@linux.vnet.ibm.com>2016-09-28 05:01:02 -0300
committerStewart Smith <stewart@linux.vnet.ibm.com>2016-10-05 14:42:26 +1100
commit6ef40b5999aad01379daf19689d264f9e3d518d7 (patch)
treeeb78e0de0a37178a0239f76259fdd5ce911bd965 /doc
parentf28379a1df27d8a4677d8181421af80bda3205e6 (diff)
downloadskiboot-6ef40b5999aad01379daf19689d264f9e3d518d7.zip
skiboot-6ef40b5999aad01379daf19689d264f9e3d518d7.tar.gz
skiboot-6ef40b5999aad01379daf19689d264f9e3d518d7.tar.bz2
doc/device-tree: add tpm.rst
This adds a documentation for the tpm device tree node. Signed-off-by: Claudio Carvalho <cclaudio@linux.vnet.ibm.com> Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
Diffstat (limited to 'doc')
-rw-r--r--doc/device-tree/tpm.rst45
1 files changed, 45 insertions, 0 deletions
diff --git a/doc/device-tree/tpm.rst b/doc/device-tree/tpm.rst
new file mode 100644
index 0000000..e4106a4
--- /dev/null
+++ b/doc/device-tree/tpm.rst
@@ -0,0 +1,45 @@
+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 added by hostboot and consumed by skiboot and the
+linux kernel (tpm and vtpm codes)
+
+::
+
+ compatible : manufacturer,model
+
+ 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 firwmare event log.
+
+
+Optional properties
+-------------------
+
+::
+
+ status: indicates whether the device is enabled or disabled. "okay" for
+ enabled and "disabled" for disabled.
+
+Example
+-------
+
+::
+
+ 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>;
+ };
+