diff options
author | Stewart Smith <stewart@linux.vnet.ibm.com> | 2016-10-28 16:03:21 +1100 |
---|---|---|
committer | Stewart Smith <stewart@linux.vnet.ibm.com> | 2016-10-28 17:07:47 +1100 |
commit | 60b1eb9a6aad0365a6bd3f2e3a265a702b09e36f (patch) | |
tree | 994e5dbf85bea0154c0bee4c15c44ef12695d0e3 /doc/opal-spec.rst | |
parent | 91350c5a926795d8917a4eff699941361f780476 (diff) | |
download | blackbird-skiboot-60b1eb9a6aad0365a6bd3f2e3a265a702b09e36f.tar.gz blackbird-skiboot-60b1eb9a6aad0365a6bd3f2e3a265a702b09e36f.zip |
doc: device-tree snippets should be dts code-blocks
This gets us syntax highlighting of device tree snippets.
Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
Diffstat (limited to 'doc/opal-spec.rst')
-rw-r--r-- | doc/opal-spec.rst | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/doc/opal-spec.rst b/doc/opal-spec.rst index ae1a1a42..68be0c99 100644 --- a/doc/opal-spec.rst +++ b/doc/opal-spec.rst @@ -179,14 +179,16 @@ The presence of the "/ibm,opal" entry in the device tree signifies running under OPAL. Additionally, the "/ibm,opal" node MUST have a compatibile property listing "ibm,opal-v3". -The "/ibm,opal" node MUST have the following properties: :: +The "/ibm,opal" node MUST have the following properties: + +.. code-block:: dts ibm,opal { compatible = "ibm,opal-v3"; opal-base-address = <>; opal-entry-address = <>; opal-runtime-size = <>; - } + }; The compatible property MAY have other strings, such as a future "ibm,opal-v4". These are reserved for future use. @@ -196,11 +198,13 @@ contain "ibm,opal-v2" as well as "ibm,opal-v3". Host operating systems MUST NOT rely on "ibm,opal-v2", this is a relic from early OPAL history. The "ibm,opal" node MUST have a child node named "firmware". It MUST contain -the following: :: +the following: + +.. code-block:: dts firmware { compatible = "ibm,opal-firmware"; - } + }; It MUST contain one of the following two properties: git-id, version. The git-id property is deprecated, and version SHOULD be used. These |