summaryrefslogtreecommitdiff
path: root/tests/omit-no-ref.dts
blob: 8ace232ecc4d722084dd3c3b55cce3235aeadba3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
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;