mirror of
https://github.com/dgibson/dtc.git
synced 2025-10-13 16:27:39 -04:00
Add merging of labelled subnodes. This patch allows the following
syntax: / { child { label: subchild { }; }; }; &label { prop = "value"; }; which will result in the following tree: / { child { label: subchild { prop = "value"; }; }; }; Signed-off-by: David Gibson <david@gibson.dropbear.id.au> Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
This commit is contained in:
parent
390635762d
commit
8773e12fa9
7 changed files with 74 additions and 18 deletions
|
@ -34,12 +34,10 @@
|
|||
prop-int = [deadbeef];
|
||||
};
|
||||
subnode@2 {
|
||||
subsubnode@0 {
|
||||
ssn0: subsubnode@0 {
|
||||
phandle = <0x2001>;
|
||||
compatible = "subsubnode2", "subsubnode";
|
||||
prop-int = <0726746425>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue