diff options
author | Shawn Guo <shawn.guo@linaro.org> | 2012-06-28 07:45:06 +0400 |
---|---|---|
committer | Shawn Guo <shawn.guo@linaro.org> | 2012-07-03 09:26:49 +0400 |
commit | 52f7176bd2a35ae712754d80c1206c69074a0a42 (patch) | |
tree | eaffba7fd6ae7a9e33276cd048fbcf6d70849689 /arch/arm/boot/dts/imx23-evk.dts | |
parent | f98c990c18fb6df88bfd8f3131215604a87d26b1 (diff) | |
download | linux-52f7176bd2a35ae712754d80c1206c69074a0a42.tar.xz |
ARM: dts: mxs: add pwm-backlight for imx23-evk and imx28-evk
Add pwm device and pwm-backlight for imx23-evk and imx28-evk.
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
Diffstat (limited to 'arch/arm/boot/dts/imx23-evk.dts')
-rw-r--r-- | arch/arm/boot/dts/imx23-evk.dts | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/imx23-evk.dts b/arch/arm/boot/dts/imx23-evk.dts index 9eca34fc93dc..3974959d16dd 100644 --- a/arch/arm/boot/dts/imx23-evk.dts +++ b/arch/arm/boot/dts/imx23-evk.dts @@ -51,6 +51,12 @@ }; apbx@80040000 { + pwm: pwm@80064000 { + pinctrl-names = "default"; + pinctrl-0 = <&pwm2_pins_a>; + status = "okay"; + }; + auart0: serial@8006c000 { pinctrl-names = "default"; pinctrl-0 = <&auart0_pins_a>; @@ -76,4 +82,11 @@ gpio = <&gpio1 29 0>; }; }; + + backlight { + compatible = "pwm-backlight"; + pwms = <&pwm 2 5000000>; + brightness-levels = <0 4 8 16 32 64 128 255>; + default-brightness-level = <6>; + }; }; |