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

/ {

	fragment@0 {
		target = <&electric_1>;

		__overlay__ {

			// This label should cause an error when the overlay
			// is applied.  There is already a phandle value
			// in the base tree for motor-1.
			spin_ctrl_1_conflict: motor-1 {
				accelerate = < 3 >;
				decelerate = < 5 >;
			};
		};
	};
};