1/* 2 * Copyright (c) 2016 NextThing Co 3 * Copyright (c) 2016 Free Electrons 4 * Copyright (c) 2016 Konsulko Inc. 5 * 6 * SPDX-License-Identifier: GPL-2.0+ 7 */ 8 9/dts-v1/; 10/plugin/; 11 12/* Test that we can change an int by another */ 13&{/test-node} { 14 test-int-property = <43>; 15}; 16 17/* Test that we can replace a string by a longer one */ 18&{/test-node} { 19 test-str-property = "foobar"; 20}; 21 22/* Test that we add a new property */ 23&{/test-node} { 24 test-str-property-2 = "foobar2"; 25}; 26 27/* Test that we add a new node (by phandle) */ 28&{/test-node} { 29 new-node { 30 new-property; 31 }; 32}; 33 34&{/} { 35 local: new-local-node { 36 new-property; 37 }; 38}; 39 40&{/} { 41 test-several-phandle = <&local>, <&local>; 42}; 43 44&{/test-node} { 45 sub-test-node { 46 new-sub-test-property; 47 }; 48}; 49