]> git.sur5r.net Git - u-boot/blob - tools/dtoc/dtoc_test_phandle.dts
efi_selftest: unit test for event groups
[u-boot] / tools / dtoc / dtoc_test_phandle.dts
1 /*
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";
15                 intval = <0>;
16                 #clock-cells = <0>;
17         };
18
19         phandle_1: phandle2-target {
20                 u-boot,dm-pre-reloc;
21                 compatible = "target";
22                 intval = <1>;
23                 #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>;
30         };
31
32         phandle-source {
33                 u-boot,dm-pre-reloc;
34                 compatible = "source";
35                 clocks = <&phandle &phandle_1 11 &phandle_2 12 13 &phandle>;
36         };
37 };