From: Peter Ujfalusi Date: Fri, 18 Jan 2013 14:16:18 +0000 (+0100) Subject: ARM: dts: omap3-beagle-xm: Use pwm-leds for pmu_stat LED X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=2c09c60cd359a13f54e78ddebc6edb123ed785ed;p=linux-beck.git ARM: dts: omap3-beagle-xm: Use pwm-leds for pmu_stat LED We have proper driver stack to handle the pmu_stat LED which is connected PWMB of twl4030. Signed-off-by: Peter Ujfalusi Signed-off-by: Benoit Cousson --- diff --git a/arch/arm/boot/dts/omap3-beagle-xm.dts b/arch/arm/boot/dts/omap3-beagle-xm.dts index 3705a81c1fc2..1c85e0fb0da1 100644 --- a/arch/arm/boot/dts/omap3-beagle-xm.dts +++ b/arch/arm/boot/dts/omap3-beagle-xm.dts @@ -20,10 +20,6 @@ leds { compatible = "gpio-leds"; - pmu_stat { - label = "beagleboard::pmu_stat"; - gpios = <&twl_gpio 19 0>; /* LEDB */ - }; heartbeat { label = "beagleboard::usr0"; @@ -38,6 +34,16 @@ }; }; + 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";