devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2] ARM: zynq: DT: Add LEDs to zc702 DT
@ 2014-08-29 14:38 Soren Brinkmann
  2014-09-01 11:08 ` Michal Simek
  0 siblings, 1 reply; 2+ messages in thread
From: Soren Brinkmann @ 2014-08-29 14:38 UTC (permalink / raw)
  To: Michal Simek
  Cc: Sören Brinkmann, Ezra Savard,
	linux-kernel-u79uwXL29TY76Z2rM5mHXA,
	linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r,
	devicetree-u79uwXL29TY76Z2rM5mHXA, Ezra Savard

From: Ezra Savard <ezra.savard-gjFFaj9aHVfQT0dZR+AlfA@public.gmane.org>

Adds LEDs to the zc702 devicetree for use with the leds-gpio driver.

Signed-off-by: Ezra Savard <ezra.savard-gjFFaj9aHVfQT0dZR+AlfA@public.gmane.org>
Reviewed-by: Soren Brinkmann <soren.brinkmann-gjFFaj9aHVfQT0dZR+AlfA@public.gmane.org>
---
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 devicetree" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH v2] ARM: zynq: DT: Add LEDs to zc702 DT
  2014-08-29 14:38 [PATCH v2] ARM: zynq: DT: Add LEDs to zc702 DT Soren Brinkmann
@ 2014-09-01 11:08 ` Michal Simek
  0 siblings, 0 replies; 2+ messages in thread
From: Michal Simek @ 2014-09-01 11:08 UTC (permalink / raw)
  To: Soren Brinkmann, Michal Simek
  Cc: Ezra Savard, linux-kernel, linux-arm-kernel, devicetree,
	Ezra Savard

[-- Attachment #1: Type: text/plain, Size: 1268 bytes --]

On 08/29/2014 04:38 PM, Soren Brinkmann wrote:
> From: Ezra Savard <ezra.savard@xilinx.com>
> 
> 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>
> ---
> 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 {
> 

Applied.

Thanks,
Michal

-- 
Michal Simek, Ing. (M.Eng), OpenPGP -> KeyID: FE3D1F91
w: www.monstr.eu p: +42-0-721842854
Maintainer of Linux kernel - Microblaze cpu - http://www.monstr.eu/fdt/
Maintainer of Linux kernel - Xilinx Zynq ARM architecture
Microblaze U-BOOT custodian and responsible for u-boot arm zynq platform



[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2014-09-01 11:08 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-08-29 14:38 [PATCH v2] ARM: zynq: DT: Add LEDs to zc702 DT Soren Brinkmann
2014-09-01 11:08 ` Michal Simek

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).