diff options
author | gonzo <gonzo@FreeBSD.org> | 2017-05-09 19:54:33 +0000 |
---|---|---|
committer | gonzo <gonzo@FreeBSD.org> | 2017-05-09 19:54:33 +0000 |
commit | 4d315351e9fb14a39b2d95b87e1dde5aaa251598 (patch) | |
tree | ee0e7b31883c88646ee55a3cf10fd68e512f410f /contrib/dtc/Documentation/manual.txt | |
parent | 557f7d447f32ca3aea8efb1091fabb542e3d6784 (diff) | |
download | FreeBSD-src-4d315351e9fb14a39b2d95b87e1dde5aaa251598.zip FreeBSD-src-4d315351e9fb14a39b2d95b87e1dde5aaa251598.tar.gz |
MFC r315009:
Merge from vendor branch importing dtc 1.4.3
Major new feature in this import is FDT overlay support
Diffstat (limited to 'contrib/dtc/Documentation/manual.txt')
-rw-r--r-- | contrib/dtc/Documentation/manual.txt | 45 |
1 files changed, 31 insertions, 14 deletions
diff --git a/contrib/dtc/Documentation/manual.txt b/contrib/dtc/Documentation/manual.txt index 65c8540..2f07350 100644 --- a/contrib/dtc/Documentation/manual.txt +++ b/contrib/dtc/Documentation/manual.txt @@ -30,25 +30,23 @@ I - "dtc", the device tree compiler 1) Sources -Source code for the Device Tree Compiler can be found at jdl.com. -The gitweb interface is: +Source code for the Device Tree Compiler can be found at git.kernel.org. - http://git.jdl.com/gitweb/ +The upstream repository is here: -The repository is here: + git://git.kernel.org/pub/scm/utils/dtc/dtc.git + https://git.kernel.org/pub/scm/utils/dtc/dtc.git - git://www.jdl.com/software/dtc.git - http://www.jdl.com/software/dtc.git +The gitweb interface for the upstream respository is: -Tarballs of the 1.0.0 and latest releases are here: - - http://www.jdl.com/software/dtc-v1.2.0.tgz - http://www.jdl.com/software/dtc-latest.tgz + https://git.kernel.org/cgit/utils/dtc/dtc.git/ 1.1) Submitting Patches -Patches should be sent to jdl@jdl.com, and CC'ed to -devicetree-discuss@lists.ozlabs.org. +Patches should be sent to the maintainers: + David Gibson <david@gibson.dropbear.id.au> + Jon Loeliger <jdl@jdl.com> +and CCed to <devicetree-compiler@vger.kernel.org>. 2) Description @@ -121,6 +119,20 @@ Options: Make space for <number> reserve map entries Relevant for dtb and asm output only. + -@ + Generates a __symbols__ node at the root node of the resulting blob + for any node labels used, and for any local references using phandles + it also generates a __local_fixups__ node that tracks them. + + When using the /plugin/ tag all unresolved label references to + be tracked in the __fixups__ node, making dynamic resolution possible. + + -A + Generate automatically aliases for all node labels. This is similar to + the -@ option (the __symbols__ node contain identical information) but + the semantics are slightly different since no phandles are automatically + generated for labeled nodes. + -S <bytes> Ensure the blob at least <bytes> long, adding additional space if needed. @@ -148,13 +160,18 @@ Additionally, dtc performs various sanity checks on the tree. Here is a very rough overview of the layout of a DTS source file: - sourcefile: list_of_memreserve devicetree + sourcefile: versioninfo plugindecl list_of_memreserve devicetree memreserve: label 'memreserve' ADDR ADDR ';' | label 'memreserve' ADDR '-' ADDR ';' devicetree: '/' nodedef + versioninfo: '/' 'dts-v1' '/' ';' + + plugindecl: '/' 'plugin' '/' ';' + | /* empty */ + nodedef: '{' list_of_property list_of_subnode '}' ';' property: label PROPNAME '=' propdata ';' @@ -211,7 +228,7 @@ Node may contain sub-nodes to obtain a hierarchical structure. For example: - A child node named "childnode" whose unit name is - "childnode at address". It it turn has a string property + "childnode at address". It in turn has a string property called "childprop". childnode@addresss { |