ARM: dts: omap3-overo: Add support for the blue LED
authorFlorian Vaussard <florian.vaussard@epfl.ch>
Mon, 10 Sep 2012 13:16:36 +0000 (15:16 +0200)
committerBenoit Cousson <b-cousson@ti.com>
Mon, 10 Sep 2012 13:44:45 +0000 (15:44 +0200)
Support the blue LED connected to the LEDB pin of the TWL4030
on the Gumstix Overo.

Signed-off-by: Florian Vaussard <florian.vaussard@epfl.ch>
Signed-off-by: Benoit Cousson <b-cousson@ti.com>
arch/arm/boot/dts/omap3-overo.dtsi

index d6cc5e2671e7f84920f01f33524cf3bf880d5e4e..89808ce016734dd8436e75ae5dad38523ce56671 100644 (file)
 
 /include/ "omap3.dtsi"
 
+/ {
+       leds {
+               compatible = "gpio-leds";
+               overo {
+                       label = "overo:blue:COM";
+                       gpios = <&twl_gpio 19 0>;
+                       linux,default-trigger = "mmc0";
+               };
+       };
+};
+
 &i2c1 {
        clock-frequency = <2600000>;
 
@@ -40,3 +51,7 @@
 &mmc2 {
        bus-width = <4>;
 };
+
+&twl_gpio {
+       ti,use-leds;
+};