summaryrefslogtreecommitdiffstats
path: root/arch/arm/boot/dts/imx28-evk.dts
diff options
context:
space:
mode:
authorShawn Guo <shawn.guo@linaro.org>2012-06-28 05:45:06 +0200
committerShawn Guo <shawn.guo@linaro.org>2012-07-03 07:26:49 +0200
commit52f7176bd2a35ae712754d80c1206c69074a0a42 (patch)
treeeaffba7fd6ae7a9e33276cd048fbcf6d70849689 /arch/arm/boot/dts/imx28-evk.dts
parentARM: dts: mxs: enable rtc for imx23 and imx28 (diff)
downloadlinux-52f7176bd2a35ae712754d80c1206c69074a0a42.tar.xz
linux-52f7176bd2a35ae712754d80c1206c69074a0a42.zip
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.dts13
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 @@
};
};
+ pwm: pwm@80064000 {
+ pinctrl-names = "default";
+ pinctrl-0 = <&pwm2_pins_a>;
+ status = "okay";
+ };
+
duart: serial@80074000 {
pinctrl-names = "default";
pinctrl-0 = <&duart_pins_a>;
@@ -179,4 +185,11 @@
linux,default-trigger = "heartbeat";
};
};
+
+ backlight {
+ compatible = "pwm-backlight";
+ pwms = <&pwm 2 5000000>;
+ brightness-levels = <0 4 8 16 32 64 128 255>;
+ default-brightness-level = <6>;
+ };
};