aboutsummaryrefslogtreecommitdiff
path: root/doc/device-tree.rst
diff options
context:
space:
mode:
authorStewart Smith <stewart@linux.vnet.ibm.com>2016-10-28 16:03:21 +1100
committerStewart Smith <stewart@linux.vnet.ibm.com>2016-10-28 17:07:47 +1100
commit60b1eb9a6aad0365a6bd3f2e3a265a702b09e36f (patch)
tree994e5dbf85bea0154c0bee4c15c44ef12695d0e3 /doc/device-tree.rst
parent91350c5a926795d8917a4eff699941361f780476 (diff)
downloadskiboot-60b1eb9a6aad0365a6bd3f2e3a265a702b09e36f.zip
skiboot-60b1eb9a6aad0365a6bd3f2e3a265a702b09e36f.tar.gz
skiboot-60b1eb9a6aad0365a6bd3f2e3a265a702b09e36f.tar.bz2
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/device-tree.rst')
-rw-r--r--doc/device-tree.rst14
1 files changed, 10 insertions, 4 deletions
diff --git a/doc/device-tree.rst b/doc/device-tree.rst
index cc9d228..fe527c6 100644
--- a/doc/device-tree.rst
+++ b/doc/device-tree.rst
@@ -35,8 +35,11 @@ Reserve Map
Here are the reserve map entries. They should exactly match the
reserved-ranges property of the root node (see documentation
-of that property)::
+of that property)
+.. code-block:: dts
+
+ /dts-v1/;
/memreserve/ 0x00000007fe600000 0x0000000000100000;
/memreserve/ 0x00000007fe200000 0x0000000000100000;
/memreserve/ 0x0000000031e00000 0x00000000003e0000;
@@ -48,8 +51,11 @@ of that property)::
Root Node
---------
-Root node of device tree::
+Root node of device tree
+
+.. code-block:: dts
+ /dts-v1/;
/ {
/*
* "compatible" properties are string lists (ASCII strings separated by
@@ -360,7 +366,7 @@ Root node of device tree::
* module VPD eeprom (and thus doesn't have a standard ASCII keyword
* VPD format). We don't currently use it though ...
*/
- ibm,module-vpd = < ... big pile of binary data ... >;
+ ibm,module-vpd = < /* ... big pile of binary data ... */ >;
/* PSI host bridge XSCOM register set */
psihb@2010900 {
@@ -488,7 +494,7 @@ Root node of device tree::
* "TPM interrupt" of that chip).
*/
ibm,irq-chip-id = <0x0>;
- }
+ };
};
};
};