summaryrefslogtreecommitdiffstats
path: root/testsuites/libtests/ofw01/some.dts
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--testsuites/libtests/ofw01/some.dts76
1 files changed, 76 insertions, 0 deletions
diff --git a/testsuites/libtests/ofw01/some.dts b/testsuites/libtests/ofw01/some.dts
new file mode 100644
index 0000000000..6ed8aeb069
--- /dev/null
+++ b/testsuites/libtests/ofw01/some.dts
@@ -0,0 +1,76 @@
+/*
+ * Copyright (c) 2020 Niteesh G S <niteesh.gs@gmail.com>. All rights reserved.
+ * Copyright (c) 2015 embedded brains GmbH. All rights reserved.
+ *
+ * embedded brains GmbH
+ * Dornierstr. 4
+ * 82178 Puchheim
+ * Germany
+ * <rtems@embedded-brains.de>
+ *
+ * The license and distribution terms for this file may be
+ * found in the file LICENSE in this distribution or at
+ * http://www.rtems.org/license/LICENSE.
+ */
+
+/dts-v1/;
+
+/ {
+ compatible = "a,b";
+ #address-cells = <1>;
+ #size-cells = <2>;
+ model = "c";
+
+ d {
+ e = "f";
+ g;
+
+ h@0 {
+ };
+
+ h@1 {
+ w = <123>;
+ };
+ };
+
+ aliases {
+ k = "/m@1248";
+ };
+
+ l: m@1248 {
+ n = <0xdeadbeef 0x12345678>;
+
+ o {
+ p;
+ };
+
+ q {
+ r = "s";
+ };
+ };
+
+ t {
+ u = <&l>;
+ };
+
+ a {
+ compatible = "a";
+ reg = <0x1234 0x10>;
+ ranges = <0x1000 0x8000 0x400 0x2000 0xF000 0x1000>;
+ interrupts = <0x1>;
+
+ b {
+ reg = <0x1234 0x10 0x2468 0x10>;
+ };
+ };
+
+ c {
+ ranges;
+ interrupts = <0x1 0x2 0x3>;
+
+ q {
+ reg = <0x4800 0x200>;
+ status = "okay";
+ };
+ };
+};