arm/dts: omap4-panda: Add LEDs support
authorBenoit Cousson <b-cousson@ti.com>
Tue, 8 May 2012 16:37:27 +0000 (18:37 +0200)
committerTony Lindgren <tony@atomide.com>
Thu, 10 May 2012 00:18:03 +0000 (17:18 -0700)
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>
arch/arm/boot/dts/omap4-panda.dts

index ea6f5bb..e671361 100644 (file)
                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 {