ARM: dts: omap3-beagle-xm: Use pwm-leds for pmu_stat LED
authorPeter Ujfalusi <peter.ujfalusi@ti.com>
Fri, 18 Jan 2013 14:16:18 +0000 (15:16 +0100)
committerBenoit Cousson <benoit.cousson@linaro.org>
Mon, 8 Apr 2013 22:16:50 +0000 (00:16 +0200)
We have proper driver stack to handle the pmu_stat LED which is connected
PWMB of twl4030.

Signed-off-by: Peter Ujfalusi <peter.ujfalusi@ti.com>
Signed-off-by: Benoit Cousson <benoit.cousson@linaro.org>
arch/arm/boot/dts/omap3-beagle-xm.dts

index 3705a81c1fc25eac3b03d4b90be08f6fef7387f9..1c85e0fb0da162a4a71385f3c9a4f229d0d73f7d 100644 (file)
 
        leds {
                compatible = "gpio-leds";
-               pmu_stat {
-                       label = "beagleboard::pmu_stat";
-                       gpios = <&twl_gpio 19 0>; /* LEDB */
-               };
 
                heartbeat {
                        label = "beagleboard::usr0";
                };
        };
 
+       pwmleds {
+               compatible = "pwm-leds";
+
+               pmu_stat {
+                       label = "beagleboard::pmu_stat";
+                       pwms = <&twl_pwmled 1 7812500>;
+                       max-brightness = <127>;
+               };
+       };
+
        sound {
                compatible = "ti,omap-twl4030";
                ti,model = "omap3beagle";