From: Jeremy Lainé Date: Thu, 29 Oct 2009 07:17:18 +0000 (+0100) Subject: linux-2.6.31: declare boc01 LED in devicetree X-Git-Tag: Release-2010-05/1~1880 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8452d20bc548c6566bb10bc3b7c87c3c49da1030;p=openembedded.git linux-2.6.31: declare boc01 LED in devicetree --- diff --git a/recipes/linux/linux-2.6.31/boc01/boc01.dts b/recipes/linux/linux-2.6.31/boc01/boc01.dts index 95b5b8e97e..333b850ba2 100644 --- a/recipes/linux/linux-2.6.31/boc01/boc01.dts +++ b/recipes/linux/linux-2.6.31/boc01/boc01.dts @@ -87,6 +87,14 @@ interrupt-parent = <&ipic>; gpio-controller; }; + + leds { + compatible = "gpio-leds"; + blue { + gpios = <&exio 7 1>; + default-state = "keep"; + }; + }; }; soc8313@e0000000 { diff --git a/recipes/linux/linux-2.6.31/boc01/boc01.dts.v1 b/recipes/linux/linux-2.6.31/boc01/boc01.dts.v1 index eed172152f..a3e452e381 100644 --- a/recipes/linux/linux-2.6.31/boc01/boc01.dts.v1 +++ b/recipes/linux/linux-2.6.31/boc01/boc01.dts.v1 @@ -87,6 +87,14 @@ interrupt-parent = <&ipic>; gpio-controller; }; + + leds { + compatible = "gpio-leds"; + blue { + gpios = <&exio 7 1>; + default-state = "keep"; + }; + }; }; soc8313@e0000000 {