1/dts-v1/;
2
3/ {
4	rref = <&{/}>;
5
6	/* Explicit phandles */
7	n1: node1 {
8		linux,phandle = <0x2000>;
9		ref = <&{/node2}>; /* reference precedes target */
10		lref = <&n2>;
11	};
12	n2: node2 {
13		phandle = <0x1>;
14		ref = <&{/node1}>; /* reference after target */
15		lref = <&n1>;
16	};
17
18	/* Implicit phandles */
19	n3: node3 {
20		ref = <&{/node4}>;
21		lref = <&n4>;
22	};
23	n4: node4 {
24	};
25
26	/* Explicit phandle with implicit value */
27	/* This self-reference is the standard way to tag a node as requiring
28	 * a phandle (perhaps for reference by nodes that will be dynamically
29	 * added) without explicitly allocating it a phandle.
30	 * The self-reference requires some special internal handling, though
31	 * so check it actually works */
32	n5: node5 {
33		linux,phandle = <&n5>;
34		phandle = <&n5>;
35	};
36};
37