summaryrefslogtreecommitdiff
path: root/arch/arm/boot/dts/vf-colibri.dtsi
diff options
context:
space:
mode:
authorBhuvanchandra DV <bhuvanchandra.dv@toradex.com>2016-01-09 09:59:53 +0300
committerShawn Guo <shawnguo@kernel.org>2016-02-29 11:14:32 +0300
commitb2e42446248511ec430cae6273214d14a9357f90 (patch)
treea490cb5a32b734515b52f6a24ece3a0871c1b40f /arch/arm/boot/dts/vf-colibri.dtsi
parentcc42603de3200277afca1664358b85d2360ccdd6 (diff)
downloadlinux-b2e42446248511ec430cae6273214d14a9357f90.tar.xz
ARM: dts: vf-colibri-eval-v3: Use enable-gpios for BL_ON
Use pwm-backlight driver 'enable-gpios' property for backlight on/off control. Signed-off-by: Bhuvanchandra DV <bhuvanchandra.dv@toradex.com> Acked-by: Stefan Agner <stefan@agner.ch> Signed-off-by: Shawn Guo <shawnguo@kernel.org>
Diffstat (limited to 'arch/arm/boot/dts/vf-colibri.dtsi')
-rw-r--r--arch/arm/boot/dts/vf-colibri.dtsi9
1 files changed, 9 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/vf-colibri.dtsi b/arch/arm/boot/dts/vf-colibri.dtsi
index 6e556be42ccd..c4312c4a3767 100644
--- a/arch/arm/boot/dts/vf-colibri.dtsi
+++ b/arch/arm/boot/dts/vf-colibri.dtsi
@@ -10,7 +10,10 @@
/ {
bl: backlight {
compatible = "pwm-backlight";
+ pinctrl-names = "default";
+ pinctrl-0 = <&pinctrl_gpio_bl_on>;
pwms = <&pwm0 0 5000000 0>;
+ enable-gpios = <&gpio1 13 GPIO_ACTIVE_HIGH>;
status = "disabled";
};
};
@@ -195,6 +198,12 @@
>;
};
+ pinctrl_gpio_bl_on: gpio_bl_on {
+ fsl,pins = <
+ VF610_PAD_PTC0__GPIO_45 0x22ef
+ >;
+ };
+
pinctrl_i2c0: i2c0grp {
fsl,pins = <
VF610_PAD_PTB14__I2C0_SCL 0x37ff