aboutsummaryrefslogtreecommitdiff
path: root/tools/dtoc/test/dtoc_test_addr64.dts
diff options
context:
space:
mode:
Diffstat (limited to 'tools/dtoc/test/dtoc_test_addr64.dts')
-rw-r--r--tools/dtoc/test/dtoc_test_addr64.dts32
1 files changed, 32 insertions, 0 deletions
diff --git a/tools/dtoc/test/dtoc_test_addr64.dts b/tools/dtoc/test/dtoc_test_addr64.dts
new file mode 100644
index 00000000000..263d2513869
--- /dev/null
+++ b/tools/dtoc/test/dtoc_test_addr64.dts
@@ -0,0 +1,32 @@
+// SPDX-License-Identifier: GPL-2.0+
+/*
+ * Test device tree file for dtoc
+ *
+ * Copyright 2017 Google, Inc
+ */
+
+ /dts-v1/;
+
+/ {
+ #address-cells = <2>;
+ #size-cells = <2>;
+
+ test1 {
+ u-boot,dm-pre-reloc;
+ compatible = "test1";
+ reg = /bits/ 64 <0x1234 0x5678>;
+ };
+
+ test2 {
+ u-boot,dm-pre-reloc;
+ compatible = "test2";
+ reg = /bits/ 64 <0x1234567890123456 0x9876543210987654>;
+ };
+
+ test3 {
+ u-boot,dm-pre-reloc;
+ compatible = "test3";
+ reg = /bits/ 64 <0x1234567890123456 0x9876543210987654 2 3>;
+ };
+
+};