How to disable backlight in iMX7 device tree

Hi there,

I’m trying to disable backlight in Colibri iMX7D, but I can’t figure out how to do this changes in device tree.

The definition of backlight is in “imx7-colibri.dtsi”:

bl: backlight {
	compatible = "pwm-backlight";
	pinctrl-names = "default";
	pinctrl-0 = <&pinctrl_gpio_bl_on>;
	pwms = <&pwm1 0 5000000 0>;
	enable-gpios = <&gpio5 1 GPIO_ACTIVE_HIGH>;

In my device tree, basically a copy of “imx7d-colibri-eval-v3.dts”, I tried using:


But then, I have a syntax error in this line.

What is the correct procedure to delete a device-tree node?

Best regards,


Just add a new property status and set it to disabled as e.g. explained in the following article on our developer website.

I could make this work using:


Thanks for the answer!