ARM: dts: vf610-colibri: Add backlight support
authorBhuvanchandra DV <bhuvanchandra.dv@toradex.com>
Mon, 22 Sep 2014 10:08:12 +0000 (15:38 +0530)
committerShawn Guo <shawn.guo@linaro.org>
Sun, 23 Nov 2014 07:08:05 +0000 (15:08 +0800)
Signed-off-by: Bhuvanchandra DV <bhuvanchandra.dv@toradex.com>
Acked-by: Stefan Agner <stefan@agner.ch>
Signed-off-by: Shawn Guo <shawn.guo@freescale.com>
arch/arm/boot/dts/vf610-colibri-eval-v3.dts
arch/arm/boot/dts/vf610-colibri.dtsi

index 00f63d936aab67e13f6abaec83f5b21c9bf35a51..711cf823e79483eb724765ccaddc439a0d578ab0 100644 (file)
        };
 };
 
+&bl {
+       brightness-levels = <0 4 8 16 32 64 128 255>;
+       default-brightness-level = <6>;
+       status  = "okay";
+};
+
 &esdhc1 {
        pinctrl-names = "default";
        pinctrl-0 = <&pinctrl_esdhc1>;
index 1f73c1c824e587eeac4b2fceac8fea59dfe15976..807953b5494a823545ef93ed735590a5af81c333 100644 (file)
                };
        };
 
+       bl: backlight {
+               compatible = "pwm-backlight";
+               pwms = <&pwm0 0 5000000 0>;
+               status = "disabled";
+       };
 };
 
 &esdhc1 {