84e414b0b5
The newly introduced /omit-if-no-ref/ needs a few test cases, make sure to test them. Signed-off-by: Maxime Ripard <maxime.ripard@bootlin.com> Reviewed-by: Rob Herring <robh@kernel.org> Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
26 lines
305 B
Text
26 lines
305 B
Text
/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;
|