[Skiboot] [PATCH 02/15] doc/device-tree: Add tpm.txt
Claudio Carvalho
cclaudio at linux.vnet.ibm.com
Thu Aug 11 15:23:44 AEST 2016
This adds a documentation for the tpm device tree node.
Signed-off-by: Claudio Carvalho <cclaudio at linux.vnet.ibm.com>
---
doc/device-tree/tpm.txt | 40 ++++++++++++++++++++++++++++++++++++++++
1 file changed, 40 insertions(+)
create mode 100644 doc/device-tree/tpm.txt
diff --git a/doc/device-tree/tpm.txt b/doc/device-tree/tpm.txt
new file mode 100644
index 0000000..db0dab2
--- /dev/null
+++ b/doc/device-tree/tpm.txt
@@ -0,0 +1,40 @@
+Device tree bindings for tpm
+============================
+
+This node describes a TPM device present in the platform. It also includes
+event log information.
+
+Required properties
+-------------------
+
+- compatible : 'manufacturer,model'
+
+- label : "tpm" indicates master TPM; "tpm-backup" indicates backup TPM.
+
+- linux,sml-base : base address of the event log. It is a physical address.
+ sml stands for shared memory log.
+
+- linux,sml-size : size of the memory allocated for the event log.
+
+
+Optional properties
+-------------------
+
+- status: indicates whether the device is enabled or disabled. "okay" for
+ enabled and "disabled" for disabled.
+
+
+Example
+-------
+
+tpm at 57 {
+ reg = <0x57>;¬
+ label = "tpm";¬
+ compatible = "nuvoton,npct650", "nuvoton,npct601";¬
+ linux,sml-base = <0x7f 0xfd450000>;¬
+ linux,sml-size = <0x10000>;¬
+ status = "okay";
+ phandle = <0x10000017>;¬
+ linux,phandle = <0x10000017>;¬
+};
+
--
1.9.1
More information about the Skiboot
mailing list