aboutsummaryrefslogtreecommitdiff
path: root/doc/device-tree
diff options
context:
space:
mode:
authorStewart Smith <stewart@linux.ibm.com>2019-05-31 16:12:35 +1000
committerStewart Smith <stewart@linux.ibm.com>2019-06-03 10:19:59 +1000
commitc73270fd417a307d98093ced55d0ec12785cf77a (patch)
tree4e17c50f2a2aeef953a5d83a3c0fbb34de8dc0bd /doc/device-tree
parent9b33b08a2778c0f09c35b23b70a057e1c629f1bb (diff)
downloadskiboot-c73270fd417a307d98093ced55d0ec12785cf77a.zip
skiboot-c73270fd417a307d98093ced55d0ec12785cf77a.tar.gz
skiboot-c73270fd417a307d98093ced55d0ec12785cf77a.tar.bz2
doc: Flesh out NVRAM docs
Reference LoPAPR as where all the requirements come from, and document what the device tree looks like. Signed-off-by: Stewart Smith <stewart@linux.ibm.com>
Diffstat (limited to 'doc/device-tree')
-rw-r--r--doc/device-tree/ibm,opal/nvram.rst13
1 files changed, 13 insertions, 0 deletions
diff --git a/doc/device-tree/ibm,opal/nvram.rst b/doc/device-tree/ibm,opal/nvram.rst
new file mode 100644
index 0000000..e1b432f
--- /dev/null
+++ b/doc/device-tree/ibm,opal/nvram.rst
@@ -0,0 +1,13 @@
+.. _device-tree/ibm,opal/nvram:
+
+nvram Device Tree Node
+======================
+
+.. code-block:: dts
+
+ nvram {
+ compatible = "ibm,opal-nvram";
+ #bytes = <0x90000>;
+ };
+
+Indicates support (and size of) the :ref:`nvram` facility.