summaryrefslogtreecommitdiff
path: root/tools/dtoc/dtoc_test_aliases.dts
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2017-06-18 22:09:06 -0600
committerSimon Glass <sjg@chromium.org>2017-07-11 10:08:20 -0600
commitc07919281c521c57d34eba8bfbac910c9632beda (patch)
tree114af204fea015c49875b1aa2ebd7a3a82ed677d /tools/dtoc/dtoc_test_aliases.dts
parent2028cc59f7b904f8e91a99439aa630b20932baa5 (diff)
dtoc: Add tests
Add some tests of dtoc's functionality to make it easier to expand and enhance the tool. Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'tools/dtoc/dtoc_test_aliases.dts')
-rw-r--r--tools/dtoc/dtoc_test_aliases.dts18
1 files changed, 18 insertions, 0 deletions
diff --git a/tools/dtoc/dtoc_test_aliases.dts b/tools/dtoc/dtoc_test_aliases.dts
new file mode 100644
index 0000000000..c727f185af
--- /dev/null
+++ b/tools/dtoc/dtoc_test_aliases.dts
@@ -0,0 +1,18 @@
+/*
+ * Test device tree file for dtoc
+ *
+ * Copyright 2017 Google, Inc
+ *
+ * SPDX-License-Identifier: GPL-2.0+
+ */
+
+ /dts-v1/;
+
+/ {
+ spl-test {
+ u-boot,dm-pre-reloc;
+ compatible = "compat1", "compat2.1-fred", "compat3";
+ intval = <1>;
+ };
+
+};