mirror of
https://github.com/dgibson/dtc.git
synced 2025-10-13 16:27:39 -04:00
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>
23 lines
423 B
Text
23 lines
423 B
Text
/dts-v1/;
|
|
|
|
/include/ "include2.dts"
|
|
/memreserve/ /include/ "include3.dts";
|
|
|
|
/ {
|
|
/include/ "include4.dts"
|
|
/include/ "include5.dts" = <0xdeadbeef>;
|
|
prop-str = /include/ "include6.dts";
|
|
|
|
/include/ "include7.dts"
|
|
|
|
subnode@2 {
|
|
linux,phandle = <0x2000>;
|
|
prop-int = <123456789>;
|
|
|
|
/include/ "include8.dts"
|
|
linux,phandle = <0x2001>;
|
|
compatible = "subsubnode2", "subsubnode";
|
|
prop-int = <0726746425>;
|
|
};
|
|
};
|
|
};
|