summaryrefslogtreecommitdiffstats
path: root/scripts/dtc/dt-style-selftest/bad/dts-property-order.dts
blob: f31abb6ceae404ac4a090a6e2577fd9dc33a3391 (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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
// SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
/*
 * Test fixture: Incorrect property order
 */

/dts-v1/;

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

		cpu@0 {
			reg = <0x0 0x0>;
			compatible = "arm,cortex-a57";
			device_type = "cpu";
			enable-method = "psci";
		};
	};

	pmu {
		compatible = "example,pmu";

		status = "disabled";
		dma-coherent;
	};

	soc@0 {
		ranges = <0 0 0 0xc0000000>;
		compatible = "simple-bus";

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

		interrupt-controller@10000 {
			reg = <0x10000 0x1000>;
			interrupts = <1 2 3>,
				     <4 5 6>,
				     <7 8 9>;
			compatible = "example,intc";
		};
	};
};