overlay_bad_phandle.dts 329 字节
Newer Older
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 >;
			};
		};
	};
};