summaryrefslogtreecommitdiff
path: root/drivers/of/unittest-data/overlay_bad_phandle.dts
blob: 270ee885a623fd3f372ec5e7c74f4ae88baba4c3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
/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 >;
			};
		};
	};
};