https://github.com/torvalds/linux
Raw File
Tip revision: 91ab883eb21325ad80f3473633f794c78ac87f51 authored by Linus Torvalds on 19 February 2018, 01:29:42 UTC
Linux 4.16-rc2
Tip revision: 91ab883
overlay_bad_phandle.dts
// 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 >;
			};
		};
	};
};
back to top