dtc: Testcase for /include/ directive
This patch adds a testcase for the /include/ directive. It assembles a sample dts file with many /include/ directives at a variety of different lexical / grammatical contexts. Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
This commit is contained in:
committed by
Jon Loeliger
parent
f8bf4bfc87
commit
f8e52fe6d8
9
tests/include7.dts
Normal file
9
tests/include7.dts
Normal file
@@ -0,0 +1,9 @@
|
||||
subnode@1 {
|
||||
compatible = "subnode1";
|
||||
prop-int = [deadbeef];
|
||||
|
||||
subsubnode {
|
||||
compatible = "subsubnode1", "subsubnode";
|
||||
prop-int = <0xdeadbeef>;
|
||||
};
|
||||
};
|
||||
Reference in New Issue
Block a user