summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFlorian Vaussard <florian.vaussard@epfl.ch>2012-09-10 15:16:36 +0200
committerBenoit Cousson <b-cousson@ti.com>2012-09-10 15:44:45 +0200
commita135f2f82c64fa779adbc19b41e21039a258a6a4 (patch)
tree2d478826e802decfa77ea8d7df13e06a84437e75
parent807e1b426db755a605f0aa03604c1cd00630e727 (diff)
ARM: dts: omap3-overo: Add support for the blue LED
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>
-rw-r--r--arch/arm/boot/dts/omap3-overo.dtsi15
1 files changed, 15 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/omap3-overo.dtsi b/arch/arm/boot/dts/omap3-overo.dtsi
index d6cc5e2671e..89808ce0167 100644
--- a/arch/arm/boot/dts/omap3-overo.dtsi
+++ b/arch/arm/boot/dts/omap3-overo.dtsi
@@ -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;
+};