1 /dts-v1/; 2 3 /memreserve/ 0xdeadbeef00000000 0x100000; 4 /memreserve/ 123456789 010000; 5 6 / { 7 compatible = "test_tree1"; 8 prop-int = <0xdeadbeef>; 9 prop-int64 = /bits/ 64 <0xdeadbeef01abcdef>; 10 prop-str = "hello world"; 11 #address-cells = <1>; 12 #size-cells = <0>; 13 14 subnode@1 { 15 compatible = "subnode1"; 16 reg = <1>; 17 prop-int = [deadbeef]; 18 19 subsubnode { 20 compatible = "subsubnode1", "subsubnode"; 21 placeholder = "this is a placeholder string", "string2"; 22 prop-int = <0xdeadbeef>; 23 }; 24 25 ss1 { 26 }; 27 }; 28 29 subnode@2 { 30 reg = <2>; 31 linux,phandle = <0x2000>; 32 prop-int = <123456789>; 33 #address-cells = <1>; 34 #size-cells = <0>; 35 36 ssn0: subsubnode@0 { 37 phandle = <0x2001>; 38 prop-int = <0xbad>; 39 }; 40 41 ss2 { 42 }; 43 }; 44 }; 45 46 /* Add label to a noderef */ 47 ssn1: &ssn0 { 48 reg = <0>; 49 prop-int = <123456789>; 50 }; 51 52 /* Use the new label for merging */ 53 &ssn1 { 54 prop-int = <0726746425>; 55 compatible = "subsubnode2", "subsubnode"; 56 }; 57