aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
Diffstat (limited to 'doc')
-rw-r--r--doc/device-tree/reserved-memory.txt27
1 files changed, 27 insertions, 0 deletions
diff --git a/doc/device-tree/reserved-memory.txt b/doc/device-tree/reserved-memory.txt
new file mode 100644
index 0000000..0f6002d
--- /dev/null
+++ b/doc/device-tree/reserved-memory.txt
@@ -0,0 +1,27 @@
+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
+