blob: ba12b0fe65ea88ef49744ceae31f283131e124a1 [file] [log] [blame]
Simon Glassc0791922017-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/ {
12 phandle: phandle-target {
13 u-boot,dm-pre-reloc;
14 compatible = "target";
Simon Glass634eba42017-08-29 14:15:59 -060015 intval = <0>;
16 #clock-cells = <0>;
17 };
18
19 phandle_1: phandle2-target {
20 u-boot,dm-pre-reloc;
21 compatible = "target";
Simon Glassc0791922017-06-18 22:09:06 -060022 intval = <1>;
Simon Glass634eba42017-08-29 14:15:59 -060023 #clock-cells = <1>;
24 };
25 phandle_2: phandle3-target {
26 u-boot,dm-pre-reloc;
27 compatible = "target";
28 intval = <2>;
29 #clock-cells = <2>;
Simon Glassc0791922017-06-18 22:09:06 -060030 };
31
32 phandle-source {
33 u-boot,dm-pre-reloc;
34 compatible = "source";
Simon Glass634eba42017-08-29 14:15:59 -060035 clocks = <&phandle &phandle_1 11 &phandle_2 12 13 &phandle>;
Simon Glassc0791922017-06-18 22:09:06 -060036 };
37};