Commit b2e42446 authored by Bhuvanchandra DV's avatar Bhuvanchandra DV Committed by Shawn Guo

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: default avatarBhuvanchandra DV <bhuvanchandra.dv@toradex.com>
Acked-by: default avatarStefan Agner <stefan@agner.ch>
Signed-off-by: default avatarShawn Guo <shawnguo@kernel.org>
parent cc42603d
...@@ -10,7 +10,10 @@ ...@@ -10,7 +10,10 @@
/ { / {
bl: backlight { bl: backlight {
compatible = "pwm-backlight"; compatible = "pwm-backlight";
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_gpio_bl_on>;
pwms = <&pwm0 0 5000000 0>; pwms = <&pwm0 0 5000000 0>;
enable-gpios = <&gpio1 13 GPIO_ACTIVE_HIGH>;
status = "disabled"; status = "disabled";
}; };
}; };
...@@ -195,6 +198,12 @@ VF610_PAD_PTC17__ENET_RMII1_TXEN 0x30d2 ...@@ -195,6 +198,12 @@ VF610_PAD_PTC17__ENET_RMII1_TXEN 0x30d2
>; >;
}; };
pinctrl_gpio_bl_on: gpio_bl_on {
fsl,pins = <
VF610_PAD_PTC0__GPIO_45 0x22ef
>;
};
pinctrl_i2c0: i2c0grp { pinctrl_i2c0: i2c0grp {
fsl,pins = < fsl,pins = <
VF610_PAD_PTB14__I2C0_SCL 0x37ff VF610_PAD_PTB14__I2C0_SCL 0x37ff
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment