aboutsummaryrefslogtreecommitdiff
path: root/tools/dtoc/dtoc_test_phandle.dts
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2017-07-11 20:28:46 -0400
committerTom Rini <trini@konsulko.com>2017-07-11 20:28:46 -0400
commit8d3a25685e4aac7070365a2b3c53c2c81b27930f (patch)
tree7956bf5e00e3490169a7fc41c42a4416da8db51f /tools/dtoc/dtoc_test_phandle.dts
parentd43ef73bf26614af9b01fd57baa1a1fcf24bfade (diff)
parent8c9eaadaaad888e0cd77512553d0d02d476b4dde (diff)
downloadu-boot-8d3a25685e4aac7070365a2b3c53c2c81b27930f.zip
u-boot-8d3a25685e4aac7070365a2b3c53c2c81b27930f.tar.gz
u-boot-8d3a25685e4aac7070365a2b3c53c2c81b27930f.tar.bz2
Merge git://git.denx.de/u-boot-dm
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>;
+ };
+};