diff options
author | Tim Harvey <tharvey@gateworks.com> | 2014-04-30 23:32:30 -0700 |
---|---|---|
committer | Shawn Guo <shawn.guo@freescale.com> | 2014-05-16 23:02:06 +0800 |
commit | b3253241fd37a45fae2b25a2892145bed323d224 (patch) | |
tree | 023d56378d8c76bfef657c755be94973dd3e9d5b /arch/arm/boot/dts/imx6qdl-gw52xx.dtsi | |
parent | 13d9ab5e8761986a8c24d225cca8e4b4e4a73ef1 (diff) | |
download | talos-obmc-linux-b3253241fd37a45fae2b25a2892145bed323d224.tar.gz talos-obmc-linux-b3253241fd37a45fae2b25a2892145bed323d224.zip |
ARM: dts: imx: add LVDS backlight for Ventana
The GW54xx/GW53xx/GW52xx all support LVDS with a PWM controlled backlight.
Signed-off-by: Tim Harvey <tharvey@gateworks.com>
Signed-off-by: Shawn Guo <shawn.guo@freescale.com>
Diffstat (limited to 'arch/arm/boot/dts/imx6qdl-gw52xx.dtsi')
-rw-r--r-- | arch/arm/boot/dts/imx6qdl-gw52xx.dtsi | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/imx6qdl-gw52xx.dtsi b/arch/arm/boot/dts/imx6qdl-gw52xx.dtsi index 102219761b20..62f533ab3693 100644 --- a/arch/arm/boot/dts/imx6qdl-gw52xx.dtsi +++ b/arch/arm/boot/dts/imx6qdl-gw52xx.dtsi @@ -27,6 +27,13 @@ bootargs = "console=ttymxc1,115200"; }; + backlight { + compatible = "pwm-backlight"; + pwms = <&pwm4 0 5000000>; + brightness-levels = <0 4 8 16 32 64 128 255>; + default-brightness-level = <7>; + }; + leds { compatible = "gpio-leds"; @@ -399,6 +406,12 @@ >; }; + pinctrl_pwm4: pwm4grp { + fsl,pins = < + MX6QDL_PAD_SD1_CMD__PWM4_OUT 0x1b0b1 + >; + }; + pinctrl_uart1: uart1grp { fsl,pins = < MX6QDL_PAD_SD3_DAT7__UART1_TX_DATA 0x1b0b1 @@ -448,6 +461,12 @@ status = "okay"; }; +&pwm4 { + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_pwm4>; + status = "okay"; +}; + &ssi1 { fsl,mode = "i2s-slave"; status = "okay"; |