blob: 85e2c342a7edc76edc5c8236a6537a3581711bd6 [file] [log] [blame]
Simon Glassadf8e052023-07-18 07:24:02 -06001// SPDX-License-Identifier: GPL-2.0+
2/*
3 * Test device tree file for dtoc
4 *
5 * Copyright 2017 Google, Inc
6 */
7
8/dts-v1/;
9
10/ {
11 #address-cells = <1>;
12 #size-cells = <1>;
13 reference = <&over>; /* nake sure that the 'over' phandle exists */
14
15 dest {
16 bootph-all;
17 compatible = "sandbox,spl-test";
18 stringarray = "one";
19 longbytearray = [09 0a 0b 0c 0d 0e 0f 10];
20 maybe-empty-int = <1>;
21
22 first@0 {
23 a-prop = <456>;
24 b-prop = <1>;
25 };
26
27 existing {
28 };
29
30 base {
31 second {
32 second3 {
33 };
34
35 second2 {
36 new-prop;
37 };
38
39 second1 {
40 new-prop;
41 };
42
43 second4 {
44 };
45 };
46 };
47 };
48
49 base {
50 compatible = "sandbox,i2c";
51 bootph-all;
52 #address-cells = <1>;
53 #size-cells = <0>;
54 over: over {
55 compatible = "sandbox,pmic";
56 bootph-all;
57 reg = <9>;
58 low-power;
59 };
60
61 first@0 {
62 reg = <0>;
63 a-prop = <123>;
64 };
65
66 second: second {
67 second1 {
68 some-prop;
69 };
70
71 second2 {
72 some-prop;
73 };
74 };
75 };
76};