blob: 6afe674b1f571b69084527df2b2d9a3dd5873824 [file] [log] [blame]
Simon Glass9d2eb922017-06-18 22:09:06 -06001/*
2 * Test device tree file for dtoc
3 *
4 * Copyright 2017 Google, Inc
5 *
6 * SPDX-License-Identifier: GPL-2.0+
7 */
8
9 /dts-v1/;
10
11/ {
Simon Glass90e5f0a2017-08-29 14:15:51 -060012 #address-cells = <1>;
13 #size-cells = <1>;
Simon Glass9d2eb922017-06-18 22:09:06 -060014 spl-test {
15 u-boot,dm-pre-reloc;
16 compatible = "sandbox,spl-test";
17 boolval;
18 intval = <1>;
19 intarray = <2 3 4>;
20 byteval = [05];
21 bytearray = [06];
22 longbytearray = [09 0a 0b 0c 0d 0e 0f 10 11];
23 stringval = "message";
24 stringarray = "multi-word", "message";
25 };
26
27 spl-test2 {
28 u-boot,dm-pre-reloc;
29 compatible = "sandbox,spl-test";
30 intval = <3>;
31 intarray = <5>;
32 byteval = [08];
33 bytearray = [01 23 34];
34 longbytearray = [09 0a 0b 0c];
35 stringval = "message2";
36 stringarray = "another", "multi-word", "message";
37 };
38
39 spl-test3 {
40 u-boot,dm-pre-reloc;
41 compatible = "sandbox,spl-test";
42 stringarray = "one";
43 };
44
45 spl-test4 {
46 u-boot,dm-pre-reloc;
47 compatible = "sandbox,spl-test.2";
48 };
49
Simon Glass90e5f0a2017-08-29 14:15:51 -060050 i2c@0 {
51 compatible = "sandbox,i2c-test";
52 u-boot,dm-pre-reloc;
53 #address-cells = <1>;
54 #size-cells = <0>;
55 pmic@9 {
56 compatible = "sandbox,pmic-test";
57 u-boot,dm-pre-reloc;
58 reg = <9>;
59 low-power;
60 };
61 };
Simon Glass9d2eb922017-06-18 22:09:06 -060062};