X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;ds=sidebyside;f=tools%2Fdtoc%2Fdtoc_test_phandle_bad2.dts;fp=tools%2Fdtoc%2Fdtoc_test_phandle_bad2.dts;h=fe25f565fbbd88d3e94ac45b5b00da6659691edb;hb=8512ea2e359cf5217183fc87326a015caab1994d;hp=0000000000000000000000000000000000000000;hpb=c3f9454103462e2cfcc5a9120b893f4ea250650a;p=u-boot diff --git a/tools/dtoc/dtoc_test_phandle_bad2.dts b/tools/dtoc/dtoc_test_phandle_bad2.dts new file mode 100644 index 0000000000..fe25f565fb --- /dev/null +++ b/tools/dtoc/dtoc_test_phandle_bad2.dts @@ -0,0 +1,22 @@ +// SPDX-License-Identifier: GPL-2.0+ +/* + * Test device tree file for dtoc + * + * Copyright 2018 Google, Inc + */ + +/dts-v1/; + +/ { + phandle: phandle-target { + u-boot,dm-pre-reloc; + compatible = "target"; + intval = <0>; + }; + + phandle-source2 { + u-boot,dm-pre-reloc; + compatible = "source"; + clocks = <&phandle>; + }; +};