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