Home | History | Annotate | Download | only in tests
      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 			prop-int = <0xdeadbeef>;
     22 		};
     23 
     24 		ss1 {
     25 		};
     26 	};
     27 
     28 	subnode@2 {
     29 		reg = <2>;
     30 		linux,phandle = <0x2000>;
     31 		prop-int = <123456789>;
     32 		#address-cells = <1>;
     33 		#size-cells = <0>;
     34 
     35 		ssn0: subsubnode@0 {
     36 			phandle = <0x2001>;
     37 			prop-int = <0xbad>;
     38 		};
     39 
     40 		ss2 {
     41 		};
     42 	};
     43 };
     44 
     45 /* Add label to a noderef */
     46 ssn1: &ssn0 {
     47 	reg = <0>;
     48 	prop-int = <123456789>;
     49 };
     50 
     51 /* Use the new label for merging */
     52 &ssn1 {
     53 	prop-int = <0726746425>;
     54 	compatible = "subsubnode2", "subsubnode";
     55 };
     56