diff options
Diffstat (limited to 'qemu/dtc/tests/path-references.dts')
-rw-r--r-- | qemu/dtc/tests/path-references.dts | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/qemu/dtc/tests/path-references.dts b/qemu/dtc/tests/path-references.dts new file mode 100644 index 000000000..91e7ef745 --- /dev/null +++ b/qemu/dtc/tests/path-references.dts @@ -0,0 +1,14 @@ +/dts-v1/; + +/ { + /* Check multiple references case */ + multiref = &n1 , &n2; + n1: node1 { + ref = &{/node2}; /* reference precedes target */ + lref = &n2; + }; + n2: node2 { + ref = &{/node1}; /* reference after target */ + lref = &n1; + }; +}; |