blob: 69761f911460aadbee4570e4a4185ea40b49c0f4 [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 {
Simon Glass9dbf90e2023-02-13 08:56:37 -070021 bootph-all;
Simon Glassbe88d2f2021-02-03 06:01:07 -070022 compatible = "sandbox,spl-test";
23 boolval;
24 intval = <1>;
25 };
26
27 i2c: i2c {
Simon Glass9dbf90e2023-02-13 08:56:37 -070028 bootph-all;
Simon Glassbe88d2f2021-02-03 06:01:07 -070029 compatible = "sandbox,i2c";
30 intval = <3>;
31 };
32
33 spl-test3 {
Simon Glass9dbf90e2023-02-13 08:56:37 -070034 bootph-all;
Simon Glassbe88d2f2021-02-03 06:01:07 -070035 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};