blob: d4f502ad0aa503db76e882a8df851525ac276aab [file] [log] [blame]
Simon Glassbe88d2f2021-02-03 06:01:07 -07001// 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
14 aliases {
15 testbus2 = &bus2;
16 testfdt1 = &testfdt_1;
17 i2c4- = &i2c;
18 };
19
20 spl-test {
21 u-boot,dm-pre-reloc;
22 compatible = "sandbox,spl-test";
23 boolval;
24 intval = <1>;
25 };
26
27 i2c: i2c {
28 u-boot,dm-pre-reloc;
29 compatible = "sandbox,i2c";
30 intval = <3>;
31 };
32
33 spl-test3 {
34 u-boot,dm-pre-reloc;
35 compatible = "sandbox,spl-test";
36 stringarray = "one";
37 longbytearray = [09 0a 0b 0c 0d 0e 0f 10];
38 };
39
40 bus2: some-bus {
41 #address-cells = <1>;
42 #size-cells = <0>;
43 compatible = "denx,u-boot-test-bus";
44 reg = <3 1>;
45 ping-expect = <4>;
46 ping-add = <4>;
47 testfdt_1: test {
48 compatible = "denx,u-boot-fdt-test", "google,another-fdt-test";
49 reg = <5>;
50 ping-expect = <5>;
51 ping-add = <5>;
52 };
53
54 test0 {
55 compatible = "google,another-fdt-test";
56 };
57 };
58};