summaryrefslogtreecommitdiffstats
path: root/qemu/dtc/tests/test_tree1_merge.dts
blob: ded08d8714351c397370ad684b20d7fbb35af2b8 (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
44
/dts-v1/;
/memreserve/ 0xdeadbeef00000000 0x100000;
/memreserve/ 123456789 010000;

/ {
	compatible = "test_tree1";
	prop-int = "wrong!";
	prop-str = "hello world";

	subnode@1 {
		compatible = "subnode1";

		subsubnode {
			compatible = "subsubnode1", "subsubnode";
			prop-int = <0xdeadbeef>;
		};

		ss1 {
		};
	};

	subnode@2 {
		linux,phandle = <0x2000>;
		prop-int = <123456789>;

		ss2 {
		};
	};
};

/ {
	prop-int = <0xdeadbeef>;
	prop-int64 = /bits/ 64 <0xdeadbeef01abcdef>;
	subnode@1 {
		prop-int = [deadbeef];
	};
	subnode@2 {
		ssn0: subsubnode@0 {
			phandle = <0x2001>;
			compatible = "subsubnode2", "subsubnode";
			prop-int = <0726746425>;
		};
	};
};