summaryrefslogtreecommitdiffstats
path: root/scripts/dtc/dt-style-selftest/good/dts-extend-node-child-name-order.dts
blob: 97d468051f25e0e3802f5ff0dab044dc3472f7a0 (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
// SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
/dts-v1/;

/ {
	#address-cells = <1>;
	#size-cells = <1>;

	pmu {
		compatible = "example,pmu";

		/* Just reference labels to avoid strict warnings */
		example,foo = <&foo>, <&label_bar>;
	};
};

&pmu {
	/* Include labels to be sure they do not affect sorting */
	label_bar: bar {
		label = "bar";
	};

	foo: foo {
		label = "foo";
	};
};