Skip to content

Commit

Permalink
ARM: dts: omap3-overo: Add support for pwm-leds
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Florian Vaussard authored and Benoit Cousson committed Apr 8, 2013
1 parent f95c01d commit bb1dea3
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions arch/arm/boot/dts/omap3-overo.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -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>;
};
};
};
Expand Down

0 comments on commit bb1dea3

Please sign in to comment.