1/dts-v1/; 2 3/ { 4 rref = &{/}; 5 /* Check multiple references case */ 6 multiref = &n1 , &n2; 7 n1: node1 { 8 ref = &{/node2}; /* reference precedes target */ 9 lref = &n2; 10 }; 11 n2: node2 { 12 ref = &{/node1}; /* reference after target */ 13 lref = &n1; 14 }; 15 /* Check references to nested nodes with common prefix */ 16 foobar { 17 n3: baz { 18 ref = &{/foo/baz}; 19 lref = &n4; 20 }; 21 }; 22 foo { 23 n4: baz { 24 ref = &{/foobar/baz}; 25 lref = &n3; 26 }; 27 }; 28}; 29