1 /dts-v1/; 2 3 /include/ "test_tree1.dts" 4 5 / { 6 nonexistant-property = <0xdeadbeef>; 7 8 nonexistant-subnode { 9 prop-int = <1>; 10 }; 11 12 dellabel: deleted-by-label { 13 prop-int = <1>; 14 }; 15 16 subnode@1 { 17 delete-this-str = "deadbeef"; 18 }; 19 20 }; 21 22 / { 23 /delete-property/ nonexistant-property; 24 25 /delete-node/ nonexistant-subnode; 26 27 subnode@1 { 28 /delete-property/ delete-this-str; 29 }; 30 }; 31 32 /delete-node/ &dellabel; 33 34 / { 35 /delete-property/ prop-str; 36 }; 37 38 / { 39 prop-str = "hello world"; 40 }; 41 42 / { 43 subnode@1 { 44 /delete-node/ ss1; 45 }; 46 }; 47 48 / { 49 subnode@1 { 50 ss1 { 51 }; 52 }; 53 }; 54 55 /{ 56 duplabel1: foo1 = "bar"; 57 duplabel2: foo2 = "bar"; 58 }; 59 60 /{ 61 duplabel1: baz1 = "qux"; 62 duplabel2: baz2 = "qux"; 63 }; 64 65 /{ 66 /delete-property/ foo1; 67 /delete-property/ baz2; 68 }; 69