diff options
author | Shawn Guo <shawn.guo@linaro.org> | 2012-06-27 23:45:06 -0400 |
---|---|---|
committer | Shawn Guo <shawn.guo@linaro.org> | 2012-07-03 01:26:49 -0400 |
commit | 52f7176bd2a35ae712754d80c1206c69074a0a42 (patch) | |
tree | eaffba7fd6ae7a9e33276cd048fbcf6d70849689 /arch/arm/boot/dts/imx28-evk.dts | |
parent | f98c990c18fb6df88bfd8f3131215604a87d26b1 (diff) |
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/imx28-evk.dts')
-rw-r--r-- | arch/arm/boot/dts/imx28-evk.dts | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/imx28-evk.dts b/arch/arm/boot/dts/imx28-evk.dts index 856b26aa915a..fba72922d3a1 100644 --- a/arch/arm/boot/dts/imx28-evk.dts +++ b/arch/arm/boot/dts/imx28-evk.dts | |||
@@ -95,6 +95,12 @@ | |||
95 | }; | 95 | }; |
96 | }; | 96 | }; |
97 | 97 | ||
98 | pwm: pwm@80064000 { | ||
99 | pinctrl-names = "default"; | ||
100 | pinctrl-0 = <&pwm2_pins_a>; | ||
101 | status = "okay"; | ||
102 | }; | ||
103 | |||
98 | duart: serial@80074000 { | 104 | duart: serial@80074000 { |
99 | pinctrl-names = "default"; | 105 | pinctrl-names = "default"; |
100 | pinctrl-0 = <&duart_pins_a>; | 106 | pinctrl-0 = <&duart_pins_a>; |
@@ -179,4 +185,11 @@ | |||
179 | linux,default-trigger = "heartbeat"; | 185 | linux,default-trigger = "heartbeat"; |
180 | }; | 186 | }; |
181 | }; | 187 | }; |
188 | |||
189 | backlight { | ||
190 | compatible = "pwm-backlight"; | ||
191 | pwms = <&pwm 2 5000000>; | ||
192 | brightness-levels = <0 4 8 16 32 64 128 255>; | ||
193 | default-brightness-level = <6>; | ||
194 | }; | ||
182 | }; | 195 | }; |