From: Luis Araneda <luaraneda@gmail.com>
To: Rob Herring <robh+dt@kernel.org>, Michal Simek <michal.simek@xilinx.com>
Cc: Mark Rutland <mark.rutland@arm.com>,
devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org,
Luis Araneda <luaraneda@gmail.com>
Subject: [PATCH 3/3] arm: dts: zynq: Add LEDs to the Zybo Z7 board
Date: Thu, 12 Jul 2018 01:50:48 -0400 [thread overview]
Message-ID: <20180712055049.5098-4-luaraneda@gmail.com> (raw)
In-Reply-To: <20180712055049.5098-1-luaraneda@gmail.com>
Add an LED node, connected to the Processing System (PS)
Signed-off-by: Luis Araneda <luaraneda@gmail.com>
---
arch/arm/boot/dts/zynq-zybo-z7.dts | 9 +++++++++
1 file changed, 9 insertions(+)
diff --git a/arch/arm/boot/dts/zynq-zybo-z7.dts b/arch/arm/boot/dts/zynq-zybo-z7.dts
index b68a5e921464..710076c9bc19 100644
--- a/arch/arm/boot/dts/zynq-zybo-z7.dts
+++ b/arch/arm/boot/dts/zynq-zybo-z7.dts
@@ -22,6 +22,15 @@
stdout-path = "serial0:115200n8";
};
+ gpio-leds {
+ compatible = "gpio-leds";
+
+ ld4 {
+ label = "zynq-zybo-z7:green:ld4";
+ gpios = <&gpio0 7 GPIO_ACTIVE_HIGH>;
+ };
+ };
+
usb_phy0: phy0 {
#phy-cells = <0>;
compatible = "usb-nop-xceiv";
--
2.18.0
next prev parent reply other threads:[~2018-07-12 5:50 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-07-12 5:50 [PATCH 0/3] arm: dts: zynq: Improvements to Zybo z7 board Luis Araneda
2018-07-12 5:50 ` [PATCH 1/3] arm: dts: zynq: Fix memory size on the Zybo Z7 board Luis Araneda
2018-07-12 5:50 ` [PATCH 2/3] arm: dts: zynq: Use gpio constants for " Luis Araneda
2018-07-12 5:50 ` Luis Araneda [this message]
2018-07-17 14:59 ` [PATCH 0/3] arm: dts: zynq: Improvements to Zybo z7 board Michal Simek
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20180712055049.5098-4-luaraneda@gmail.com \
--to=luaraneda@gmail.com \
--cc=devicetree@vger.kernel.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=mark.rutland@arm.com \
--cc=michal.simek@xilinx.com \
--cc=robh+dt@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).