[oe-commits] Jeremy Lainé : linux-2.6.31: declare boc01 LED in devicetree
git version control
git at git.openembedded.org
Fri Oct 30 10:56:57 UTC 2009
Module: openembedded.git
Branch: shr/merge
Commit: 8452d20bc548c6566bb10bc3b7c87c3c49da1030
URL: http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=8452d20bc548c6566bb10bc3b7c87c3c49da1030
Author: Jeremy Lainé <jeremy.laine at m4x.org>
Date: Thu Oct 29 08:17:18 2009 +0100
linux-2.6.31: declare boc01 LED in devicetree
---
recipes/linux/linux-2.6.31/boc01/boc01.dts | 8 ++++++++
recipes/linux/linux-2.6.31/boc01/boc01.dts.v1 | 8 ++++++++
2 files changed, 16 insertions(+), 0 deletions(-)
diff --git a/recipes/linux/linux-2.6.31/boc01/boc01.dts b/recipes/linux/linux-2.6.31/boc01/boc01.dts
index 95b5b8e..333b850 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 at 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 eed1721..a3e452e 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 at e0000000 {
More information about the Openembedded-commits
mailing list