From: Florian Vaussard Date: Wed, 23 Jan 2013 17:56:51 +0000 (+0100) Subject: ARM: dts: omap3-overo: Add support for pwm-leds X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=bb1dea3bd4353159abf96fb3e29612a1dff308a0;p=openwrt%2Fstaging%2Fblogic.git 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 Signed-off-by: Benoit Cousson --- 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>; }; }; };