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 {
14	test-int-property = <43>;
15};
16
17/* Test that we can replace a string by a longer one */
18&test {
19	test-str-property = "foobar";
20};
21
22/* Test that we add a new property */
23&test {
24	test-str-property-2 = "foobar2";
25};
26
27/* Test that we add a new node (by phandle) */
28&test {
29	new-node {
30		new-property;
31	};
32};
33
34&test {
35	local: new-local-node {
36		new-property;
37	};
38};
39
40&test {
41	test-phandle = <&test>, <&local>;
42};
43
44&test {
45	test-several-phandle = <&local>, <&local>;
46};
47
48&test {
49	sub-test-node {
50		new-sub-test-property;
51	};
52};
53