diff options
author | Jacky Bai <ping.bai@nxp.com> | 2020-01-08 14:30:38 +0800 |
---|---|---|
committer | Jason Liu <jason.hui.liu@nxp.com> | 2020-02-26 04:17:31 +0800 |
commit | ef63e11c9964056ff8d58a9bb0bc557bf22f7d2a (patch) | |
tree | 445314608c038acd908b3c7b0a96cb557922d8d1 /arch/arm/boot/dts/imx6sx-sdb.dtsi | |
parent | 8866ea507703fe949ee5dc6cb5ab2fd184307167 (diff) |
LF-723 ARM: dts: imx: Add pwm backlight for lvds display
Add PWM backlight for LVDS display on i.MX6SX SDB board.
Signed-off-by: Jacky Bai <ping.bai@nxp.com>
Reviewed-by: Anson Huang <Anson.Huang@nxp.com>
(cherry picked from commit fae2b52a069465b9908c0254c33c364b53c6db98)
Diffstat (limited to 'arch/arm/boot/dts/imx6sx-sdb.dtsi')
-rw-r--r-- | arch/arm/boot/dts/imx6sx-sdb.dtsi | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/imx6sx-sdb.dtsi b/arch/arm/boot/dts/imx6sx-sdb.dtsi index 7a56bf3da8df..4d337c1bf467 100644 --- a/arch/arm/boot/dts/imx6sx-sdb.dtsi +++ b/arch/arm/boot/dts/imx6sx-sdb.dtsi @@ -28,6 +28,14 @@ default-brightness-level = <6>; }; + backlight2 { + compatible = "pwm-backlight"; + pwms = <&pwm4 0 5000000>; + brightness-levels = <0 4 8 16 32 64 128 255>; + default-brightness-level = <6>; + fb-names = "mxs-lcdif1"; + }; + gpio-keys { compatible = "gpio-keys"; pinctrl-names = "default"; @@ -475,6 +483,12 @@ status = "okay"; }; +&pwm4 { + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_pwm4>; + status = "okay"; +}; + &pxp { status = "okay"; }; @@ -790,6 +804,12 @@ >; }; + pinctrl_pwm4: pwm4grp-1 { + fsl,pins = < + MX6SX_PAD_SD1_DATA1__PWM4_OUT 0x110b0 + >; + }; + pinctrl_qspi2: qspi2grp { fsl,pins = < MX6SX_PAD_NAND_WP_B__QSPI2_A_DATA_0 0x70f1 |