ARM: zynq: DT: Add LEDs to zc702 DT
authorEzra Savard <ezra.savard@xilinx.com>
Fri, 29 Aug 2014 14:38:37 +0000 (07:38 -0700)
committerMichal Simek <michal.simek@xilinx.com>
Mon, 1 Sep 2014 11:10:21 +0000 (13:10 +0200)
Adds LEDs to the zc702 devicetree for use with the leds-gpio driver.

Signed-off-by: Ezra Savard <ezra.savard@xilinx.com>
Reviewed-by: Soren Brinkmann <soren.brinkmann@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
arch/arm/boot/dts/zynq-zc702.dts

index 835c3089c61cb6d55e6fadc93795d224ec1bec00..b29e0f97e764d38d768e548b917ac57ef035708e 100644 (file)
                bootargs = "console=ttyPS0,115200 earlyprintk";
        };
 
+       leds {
+               compatible = "gpio-leds";
+
+               ds23 {
+                       label = "ds23";
+                       gpios = <&gpio0 10 0>;
+                       linux,default-trigger = "heartbeat";
+               };
+       };
 };
 
 &can0 {