summaryrefslogtreecommitdiffstats
path: root/arch/arm/boot/dts/omap3-overo.dtsi
diff options
context:
space:
mode:
authorFlorian Vaussard <florian.vaussard@epfl.ch>2013-01-23 18:56:51 +0100
committerBenoit Cousson <benoit.cousson@linaro.org>2013-04-09 00:16:53 +0200
commitbb1dea3bd4353159abf96fb3e29612a1dff308a0 (patch)
treed531286c66dcf70faa494d19f67f192255d8e5ad /arch/arm/boot/dts/omap3-overo.dtsi
parentARM: dts: omap4-sdp: Add support for pwm-backlight (diff)
downloadlinux-bb1dea3bd4353159abf96fb3e29612a1dff308a0.tar.xz
linux-bb1dea3bd4353159abf96fb3e29612a1dff308a0.zip
ARM: dts: omap3-overo: Add support for pwm-leds
Convert the on-board LED connected to the TWL4030 (LEDB) to use pwm-leds. Signed-off-by: Florian Vaussard <florian.vaussard@epfl.ch> Signed-off-by: Benoit Cousson <benoit.cousson@linaro.org>
Diffstat (limited to 'arch/arm/boot/dts/omap3-overo.dtsi')
-rw-r--r--arch/arm/boot/dts/omap3-overo.dtsi9
1 files changed, 5 insertions, 4 deletions
diff --git a/arch/arm/boot/dts/omap3-overo.dtsi b/arch/arm/boot/dts/omap3-overo.dtsi
index 89808ce01673..800be293c6a4 100644
--- a/arch/arm/boot/dts/omap3-overo.dtsi
+++ b/arch/arm/boot/dts/omap3-overo.dtsi
@@ -14,12 +14,13 @@
/include/ "omap3.dtsi"
/ {
- leds {
- compatible = "gpio-leds";
+ pwmleds {
+ compatible = "pwm-leds";
+
overo {
label = "overo:blue:COM";
- gpios = <&twl_gpio 19 0>;
- linux,default-trigger = "mmc0";
+ pwms = <&twl_pwmled 1 7812500>;
+ max-brightness = <127>;
};
};
};