summaryrefslogtreecommitdiff
path: root/recipes/linux/linux-2.6.31
diff options
context:
space:
mode:
authorJeremy Lainé <jeremy.laine@m4x.org>2009-10-29 08:17:18 +0100
committerJeremy Lainé <jeremy.laine@m4x.org>2009-10-29 08:17:18 +0100
commit8452d20bc548c6566bb10bc3b7c87c3c49da1030 (patch)
tree488fb45f6fec90cacff7a9a5cbe0dc11abc9eb84 /recipes/linux/linux-2.6.31
parentb3a385a228a5a88ad1a0ba8504e09d4e20eed41d (diff)
linux-2.6.31: declare boc01 LED in devicetree
Diffstat (limited to 'recipes/linux/linux-2.6.31')
-rw-r--r--recipes/linux/linux-2.6.31/boc01/boc01.dts8
-rw-r--r--recipes/linux/linux-2.6.31/boc01/boc01.dts.v18
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 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 {