summaryrefslogtreecommitdiffstats
path: root/arch/arm
diff options
context:
space:
mode:
authorBenoit Cousson <b-cousson@ti.com>2012-05-08 18:37:27 +0200
committerTony Lindgren <tony@atomide.com>2012-05-09 17:18:03 -0700
commit40364b9f5a4d167d97bb6a76cd239ca8cfff056a (patch)
treecf3470c404ba4649758bccc3a3fa5ad31946154b /arch/arm
parent83909c7352ecd437dfdeabf609048bcced175196 (diff)
downloadop-kernel-dev-40364b9f5a4d167d97bb6a76cd239ca8cfff056a.zip
op-kernel-dev-40364b9f5a4d167d97bb6a76cd239ca8cfff056a.tar.gz
arm/dts: omap4-panda: Add LEDs support
Add the debug LEDs nodes for an OMAP4 PandaBoard. Signed-off-by: Benoit Cousson <b-cousson@ti.com> Signed-off-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'arch/arm')
-rw-r--r--arch/arm/boot/dts/omap4-panda.dts15
1 files changed, 15 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/omap4-panda.dts b/arch/arm/boot/dts/omap4-panda.dts
index ea6f5bb..e671361 100644
--- a/arch/arm/boot/dts/omap4-panda.dts
+++ b/arch/arm/boot/dts/omap4-panda.dts
@@ -17,6 +17,21 @@
device_type = "memory";
reg = <0x80000000 0x40000000>; /* 1 GB */
};
+
+ leds {
+ compatible = "gpio-leds";
+ heartbeat {
+ label = "pandaboard::status1";
+ gpios = <&gpio1 7 0>;
+ linux,default-trigger = "heartbeat";
+ };
+
+ mmc {
+ label = "pandaboard::status2";
+ gpios = <&gpio1 8 0>;
+ linux,default-trigger = "mmc0";
+ };
+ };
};
&i2c1 {
OpenPOWER on IntegriCloud