blob: 895cc1fea2860c6d67100d1728e933b715c91f81 [file] [log] [blame]
Tom Rini10e47792018-05-06 17:58:06 -04001// SPDX-License-Identifier: GPL-2.0+
Simon Glass9d2eb922017-06-18 22:09:06 -06002/*
3 * Test device tree file for dtoc
4 *
5 * Copyright 2017 Google, Inc
Simon Glass9d2eb922017-06-18 22:09:06 -06006 */
7
8 /dts-v1/;
9
10/ {
Simon Glass90e5f0a2017-08-29 14:15:51 -060011 #address-cells = <1>;
12 #size-cells = <1>;
Simon Glass9d2eb922017-06-18 22:09:06 -060013 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
Simon Glass90e5f0a2017-08-29 14:15:51 -060049 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 };
Simon Glass9d2eb922017-06-18 22:09:06 -060061};