[PATCH v2] ARM: zynq: DT: Add LEDs to zc702 DT
From: Soren Brinkmann
Date: Fri Aug 29 2014 - 10:38:50 EST
From: Ezra Savard <ezra.savard@xxxxxxxxxx>
Adds LEDs to the zc702 devicetree for use with the leds-gpio driver.
Signed-off-by: Ezra Savard <ezra.savard@xxxxxxxxxx>
Reviewed-by: Soren Brinkmann <soren.brinkmann@xxxxxxxxxx>
---
v2:
- fix node names
---
arch/arm/boot/dts/zynq-zc702.dts | 9 +++++++++
1 file changed, 9 insertions(+)
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 {
--
2.1.0.1.g27b9230
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/