]> git.sur5r.net Git - u-boot/blob - tools/dtoc/dtoc_test_simple.dts
Merge git://www.denx.de/git/u-boot-marvell
[u-boot] / tools / dtoc / dtoc_test_simple.dts
1 // 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         spl-test {
14                 u-boot,dm-pre-reloc;
15                 compatible = "sandbox,spl-test";
16                 boolval;
17                 intval = <1>;
18                 intarray = <2 3 4>;
19                 byteval = [05];
20                 bytearray = [06];
21                 longbytearray = [09 0a 0b 0c 0d 0e 0f 10 11];
22                 stringval = "message";
23                 stringarray = "multi-word", "message";
24         };
25
26         spl-test2 {
27                 u-boot,dm-pre-reloc;
28                 compatible = "sandbox,spl-test";
29                 intval = <3>;
30                 intarray = <5>;
31                 byteval = [08];
32                 bytearray = [01 23 34];
33                 longbytearray = [09 0a 0b 0c];
34                 stringval = "message2";
35                 stringarray = "another", "multi-word", "message";
36         };
37
38         spl-test3 {
39                 u-boot,dm-pre-reloc;
40                 compatible = "sandbox,spl-test";
41                 stringarray = "one";
42         };
43
44         spl-test4 {
45                 u-boot,dm-pre-reloc;
46                 compatible = "sandbox,spl-test.2";
47         };
48
49         i2c@0 {
50                 compatible = "sandbox,i2c-test";
51                 u-boot,dm-pre-reloc;
52                 #address-cells = <1>;
53                 #size-cells = <0>;
54                 pmic@9 {
55                         compatible = "sandbox,pmic-test";
56                         u-boot,dm-pre-reloc;
57                         reg = <9>;
58                         low-power;
59                 };
60         };
61 };