blob: a71acffc698d3e590dead59a4f36c5e3c580d8c3 [file] [log] [blame]
Tom Rini83d290c2018-05-06 17:58:06 -04001// SPDX-License-Identifier: GPL-2.0+
Simon Glassc0791922017-06-18 22:09:06 -06002/*
3 * Test device tree file for dtoc
4 *
5 * Copyright 2017 Google, Inc
Simon Glassc0791922017-06-18 22:09:06 -06006 */
7
8 /dts-v1/;
9
10/ {
11 phandle: phandle-target {
12 u-boot,dm-pre-reloc;
13 compatible = "target";
Simon Glass634eba42017-08-29 14:15:59 -060014 intval = <0>;
15 #clock-cells = <0>;
16 };
17
18 phandle_1: phandle2-target {
19 u-boot,dm-pre-reloc;
20 compatible = "target";
Simon Glassc0791922017-06-18 22:09:06 -060021 intval = <1>;
Simon Glass634eba42017-08-29 14:15:59 -060022 #clock-cells = <1>;
23 };
24 phandle_2: phandle3-target {
25 u-boot,dm-pre-reloc;
26 compatible = "target";
27 intval = <2>;
28 #clock-cells = <2>;
Simon Glassc0791922017-06-18 22:09:06 -060029 };
30
31 phandle-source {
32 u-boot,dm-pre-reloc;
33 compatible = "source";
Simon Glass634eba42017-08-29 14:15:59 -060034 clocks = <&phandle &phandle_1 11 &phandle_2 12 13 &phandle>;
Simon Glassc0791922017-06-18 22:09:06 -060035 };
Simon Glass760b7172018-07-06 10:27:31 -060036
37 phandle-source2 {
38 u-boot,dm-pre-reloc;
39 compatible = "source";
40 clocks = <&phandle>;
41 };
Simon Glassc0791922017-06-18 22:09:06 -060042};