ARM: dts: omap3-overo: Add support for pwm-leds
authorFlorian Vaussard <florian.vaussard@epfl.ch>
Wed, 23 Jan 2013 17:56:51 +0000 (18:56 +0100)
committerBenoit Cousson <benoit.cousson@linaro.org>
Mon, 8 Apr 2013 22:16:53 +0000 (00:16 +0200)
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>
arch/arm/boot/dts/omap3-overo.dtsi

index 89808ce016734dd8436e75ae5dad38523ce56671..800be293c6a47e75f6d807f582c76c096336899a 100644 (file)
 /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>;
                };
        };
 };