aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorStewart Smith <stewart@linux.vnet.ibm.com>2015-05-21 15:31:13 +1000
committerStewart Smith <stewart@linux.vnet.ibm.com>2015-05-21 15:32:37 +1000
commite51f45d7c17013fd6c75e5df9c1611e135c211b9 (patch)
tree12feee74705c8ed0ddb0e4b887e75bbf3b8f8eb3 /doc
parent806dbb9bd35d01e0a2e94d46e152723a1f6b1a7d (diff)
parent417333aa73103b3cc05b27df5e4b328fe71dab5f (diff)
downloadskiboot-e51f45d7c17013fd6c75e5df9c1611e135c211b9.zip
skiboot-e51f45d7c17013fd6c75e5df9c1611e135c211b9.tar.gz
skiboot-e51f45d7c17013fd6c75e5df9c1611e135c211b9.tar.bz2
Merge PRD rework from stable
Diffstat (limited to 'doc')
-rw-r--r--doc/device-tree/ibm,opal/diagnostics.txt10
-rw-r--r--doc/device-tree/reserved-memory.txt30
2 files changed, 40 insertions, 0 deletions
diff --git a/doc/device-tree/ibm,opal/diagnostics.txt b/doc/device-tree/ibm,opal/diagnostics.txt
new file mode 100644
index 0000000..14da91c
--- /dev/null
+++ b/doc/device-tree/ibm,opal/diagnostics.txt
@@ -0,0 +1,10 @@
+
+ibm,opal/diagnostics device tree entries
+----------------------------------
+
+The diagnostics node under ibm,opal describes a userspace-to-firmware
+interface, supporting the runtime processor recovery diagnostics functions.
+
+The properties of a prd node are:
+
+ compatible = "ibm,opal-prd"
diff --git a/doc/device-tree/reserved-memory.txt b/doc/device-tree/reserved-memory.txt
new file mode 100644
index 0000000..ff0d6a4
--- /dev/null
+++ b/doc/device-tree/reserved-memory.txt
@@ -0,0 +1,30 @@
+reserved-memory device tree nodes
+
+OPAL exposes reserved memory through a top-level reserved-memory node,
+containing subnodes that represent each reserved memory region.
+
+This follows the Linux specification for the /reserved-memory node,
+described in the kernel source tree, in:
+
+ Documentation/devicetree/bindings/reserved-memory/reserved-memory.txt
+
+The top-level /reserved-memory node contains:
+
+ #size-cells = <2>
+ #address-cells = <2>
+ - addresses and sizes are all 64-bits
+
+ ranges;
+ - the empty ranges node indicates no translation of physical
+ addresses in the subnodes.
+
+The sub-nodes under the /reserved-memory node contain:
+
+ reg = <address size>
+ - the address and size of the reserved memory region. The address
+ and size values are two cells each, as signified by the top-level
+ #{address,size}-cells
+
+ ibm,prd-label = "string"
+ - a string token for use by the prd system. Specific ranges may be
+ used by prd - those will be referenced by this label.