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

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

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

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

&soc {
	interrupt-controller@10000 {
		compatible = "example,intc";
		reg = <0x10000 0x1000>;
		interrupts = <1 2 3>;
	};

	serial@20000 {
		compatible = "example,serial";
		reg = <0x20000 0x1000>;
	};

	serial@30000 {
		compatible = "example,serial";
		reg = <0x30000 0x1000>;
	};
};