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>
@@ -13,6 +13,17 @@
/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;