diff options
Diffstat (limited to 'dtc/tests/omit-no-ref.dts')
-rw-r--r-- | dtc/tests/omit-no-ref.dts | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/dtc/tests/omit-no-ref.dts b/dtc/tests/omit-no-ref.dts new file mode 100644 index 000000000..8ace232ec --- /dev/null +++ b/dtc/tests/omit-no-ref.dts @@ -0,0 +1,26 @@ +/dts-v1/; + +/ { + test-phandle = <&node3>; + test-path = &node4; + + /omit-if-no-ref/ node1: node1 { + bar = <0xdeadbeef>; + }; + + node2: node2 { + foo = <0x42>; + }; + + node3: node3 { + test = "test"; + }; + + node4: node4 { + test; + }; +}; + +/omit-if-no-ref/ &node2; +/omit-if-no-ref/ &node3; +/omit-if-no-ref/ &node4; |