summaryrefslogtreecommitdiff
path: root/tools/dtoc/test/dtoc_test_phandle_bad2.dts
diff options
context:
space:
mode:
Diffstat (limited to 'tools/dtoc/test/dtoc_test_phandle_bad2.dts')
-rw-r--r--tools/dtoc/test/dtoc_test_phandle_bad2.dts22
1 files changed, 22 insertions, 0 deletions
diff --git a/tools/dtoc/test/dtoc_test_phandle_bad2.dts b/tools/dtoc/test/dtoc_test_phandle_bad2.dts
new file mode 100644
index 0000000000..fe25f565fb
--- /dev/null
+++ b/tools/dtoc/test/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>;
+ };
+};