summaryrefslogtreecommitdiffstats
path: root/scripts/dtc/dt-style-selftest/good/dts-tab.dts
blob: ab7b5d1242ba93205e51afb47a329730b9dcb885 (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
// SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
/*
 * Test fixture: a properly formatted .dts using one-tab indent.
 */

/dts-v1/;

/ {
	compatible = "example,test-board";
	#address-cells = <1>;
	#size-cells = <1>;

	bus@10000 {
		compatible = "simple-bus";
		reg = <0x10000 0x1000>;
		#address-cells = <1>;
		#size-cells = <1>;

		device@100 {
			compatible = "example,test";
			reg = <0x100 0x10>;
		};

		device@200 {
			compatible = "example,test";
			reg = <0x200 0x10>;
		};
	};
};