summaryrefslogtreecommitdiffstats
path: root/qemu/dtc/tests/test_tree1_wrong1.dts
diff options
context:
space:
mode:
Diffstat (limited to 'qemu/dtc/tests/test_tree1_wrong1.dts')
-rw-r--r--qemu/dtc/tests/test_tree1_wrong1.dts36
1 files changed, 36 insertions, 0 deletions
diff --git a/qemu/dtc/tests/test_tree1_wrong1.dts b/qemu/dtc/tests/test_tree1_wrong1.dts
new file mode 100644
index 000000000..d71820a23
--- /dev/null
+++ b/qemu/dtc/tests/test_tree1_wrong1.dts
@@ -0,0 +1,36 @@
+/dts-v1/;
+
+/memreserve/ 123456789 010000;
+
+/ {
+ compatible = "test_tree1";
+ prop-int = <0xdeadbeef>;
+ prop-str = "hello world";
+
+ subnode@1 {
+ compatible = "subnode1";
+ prop-int = [deadbeef];
+
+ subsubnode {
+ compatible = "subsubnode1", "subsubnode";
+ prop-int = <0xdeadbeef>;
+ };
+
+ ss1 {
+ };
+ };
+
+ subnode@2 {
+ linux,phandle = <0x2000>;
+ prop-int = <123456789>;
+
+ subsubnode@0 {
+ phandle = <0x2001>;
+ compatible = "subsubnode2", "subsubnode";
+ prop-int = <0726746425>;
+ };
+
+ ss2 {
+ };
+ };
+};