summaryrefslogtreecommitdiffstats
path: root/drivers/of/unittest-data/overlay_bad_add_dup_prop.dts
blob: c190da54f1754f77cfdee751126e57842e91312f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
// SPDX-License-Identifier: GPL-2.0
/dts-v1/;
/plugin/;

/*
 * &electric_1/motor-1 and &spin_ctrl_1 are the same node:
 *   /testcase-data-2/substation@100/motor-1
 *
 * Thus the property "rpm_avail" in each fragment will
 * result in an attempt to update the same property twice.
 * This will result in an error and the overlay apply
 * will fail.
 */

&electric_1 {

	motor-1 {
		rpm_avail = < 100 >;
	};
};

&spin_ctrl_1 {
		rpm_avail = < 100 200 >;
};