summaryrefslogtreecommitdiff
path: root/arch/arm/boot
diff options
context:
space:
mode:
authorEzra Savard <ezra.savard@xilinx.com>2014-08-29 07:38:37 -0700
committerMichal Simek <michal.simek@xilinx.com>2014-09-01 13:10:21 +0200
commitf8aa6867a2365fa98de6932cce420d6106a5ddd1 (patch)
tree1b24fc47bbf50bb671966dadd4f0c98ca95a94e7 /arch/arm/boot
parent7d1311b93e58ed55f3a31cc8f94c4b8fe988a2b9 (diff)
ARM: zynq: DT: Add LEDs to zc702 DT
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>
Diffstat (limited to 'arch/arm/boot')
-rw-r--r--arch/arm/boot/dts/zynq-zc702.dts9
1 files changed, 9 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/zynq-zc702.dts b/arch/arm/boot/dts/zynq-zc702.dts
index 835c3089c61c..b29e0f97e764 100644
--- a/arch/arm/boot/dts/zynq-zc702.dts
+++ b/arch/arm/boot/dts/zynq-zc702.dts
@@ -27,6 +27,15 @@
bootargs = "console=ttyPS0,115200 earlyprintk";
};
+ leds {
+ compatible = "gpio-leds";
+
+ ds23 {
+ label = "ds23";
+ gpios = <&gpio0 10 0>;
+ linux,default-trigger = "heartbeat";
+ };
+ };
};
&can0 {