From: Florian Vaussard Date: Mon, 10 Sep 2012 13:16:36 +0000 (+0200) Subject: ARM: dts: omap3-overo: Add support for the blue LED X-Git-Tag: firefly_0821_release~3680^2~1963^2~2^2~7^2 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=a135f2f82c64fa779adbc19b41e21039a258a6a4;p=firefly-linux-kernel-4.4.55.git 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 Signed-off-by: Benoit Cousson --- diff --git a/arch/arm/boot/dts/omap3-overo.dtsi b/arch/arm/boot/dts/omap3-overo.dtsi index d6cc5e2671e7..89808ce01673 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; +};