From 40364b9f5a4d167d97bb6a76cd239ca8cfff056a Mon Sep 17 00:00:00 2001 From: Benoit Cousson Date: Tue, 8 May 2012 18:37:27 +0200 Subject: [PATCH] arm/dts: omap4-panda: Add LEDs support Add the debug LEDs nodes for an OMAP4 PandaBoard. Signed-off-by: Benoit Cousson Signed-off-by: Tony Lindgren --- arch/arm/boot/dts/omap4-panda.dts | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/arch/arm/boot/dts/omap4-panda.dts b/arch/arm/boot/dts/omap4-panda.dts index ea6f5bb8a120..e671361bc791 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 {