]> git.ipfire.org Git - people/ms/u-boot.git/blob - tools/dtoc/dtoc_test_phandle.dts
dtoc: Add tests
[people/ms/u-boot.git] / 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 = <1>;
16 };
17
18 phandle-source {
19 u-boot,dm-pre-reloc;
20 compatible = "source";
21 clocks = <&phandle 1>;
22 };
23 };