summaryrefslogtreecommitdiff
path: root/tools/dtoc/dtoc_test_phandle.dts
diff options
context:
space:
mode:
Diffstat (limited to 'tools/dtoc/dtoc_test_phandle.dts')
-rw-r--r--tools/dtoc/dtoc_test_phandle.dts23
1 files changed, 23 insertions, 0 deletions
diff --git a/tools/dtoc/dtoc_test_phandle.dts b/tools/dtoc/dtoc_test_phandle.dts
new file mode 100644
index 0000000..e9828a6
--- /dev/null
+++ b/tools/dtoc/dtoc_test_phandle.dts
@@ -0,0 +1,23 @@
+/*
+ * Test device tree file for dtoc
+ *
+ * Copyright 2017 Google, Inc
+ *
+ * SPDX-License-Identifier: GPL-2.0+
+ */
+
+ /dts-v1/;
+
+/ {
+ phandle: phandle-target {
+ u-boot,dm-pre-reloc;
+ compatible = "target";
+ intval = <1>;
+ };
+
+ phandle-source {
+ u-boot,dm-pre-reloc;
+ compatible = "source";
+ clocks = <&phandle 1>;
+ };
+};