blob: 241743e73eca8637720053b861693c8b1775931f [file] [log] [blame]
Walter Lozano5541fc02020-06-25 01:10:17 -03001// SPDX-License-Identifier: GPL-2.0+
2/*
3 * Test device tree file for dtoc
4 *
5 * Copyright 2020 Collabora Ltd.
6 */
7
8/dts-v1/;
9
10/ {
11 phandle: phandle-target {
12 u-boot,dm-pre-reloc;
13 compatible = "target";
14 intval = <0>;
15 #gpio-cells = <0>;
16 };
17
18 phandle_1: phandle2-target {
19 u-boot,dm-pre-reloc;
20 compatible = "target";
21 intval = <1>;
22 #gpio-cells = <1>;
23 };
24 phandle_2: phandle3-target {
25 u-boot,dm-pre-reloc;
26 compatible = "target";
27 intval = <2>;
28 #gpio-cells = <2>;
29 };
30
31 phandle-source {
32 u-boot,dm-pre-reloc;
33 compatible = "source";
34 cd-gpios = <&phandle &phandle_1 11 &phandle_2 12 13 &phandle>;
35 };
36
37 phandle-source2 {
38 u-boot,dm-pre-reloc;
39 compatible = "source";
40 cd-gpios = <&phandle>;
41 };
42};