From: Simon Horman <horms+renesas@verge.net.au>
To: linux-renesas-soc@vger.kernel.org
Cc: linux-arm-kernel@lists.infradead.org,
Magnus Damm <magnus.damm@gmail.com>,
Fabrizio Castro <fabrizio.castro@bp.renesas.com>,
Simon Horman <horms+renesas@verge.net.au>
Subject: [PATCH 11/26] arm64: dts: renesas: r8a774c0-cat874: Add LEDs support
Date: Wed, 3 Apr 2019 12:53:54 +0200 [thread overview]
Message-ID: <dc0b439471323521a20314934080f51e8589fd19.1554281697.git.horms+renesas@verge.net.au> (raw)
In-Reply-To: <cover.1554281697.git.horms+renesas@verge.net.au>
From: Fabrizio Castro <fabrizio.castro@bp.renesas.com>
This patch adds LEDs support to the CAT874 board specific
device tree.
Signed-off-by: Fabrizio Castro <fabrizio.castro@bp.renesas.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
---
arch/arm64/boot/dts/renesas/r8a774c0-cat874.dts | 24 ++++++++++++++++++++++++
1 file changed, 24 insertions(+)
diff --git a/arch/arm64/boot/dts/renesas/r8a774c0-cat874.dts b/arch/arm64/boot/dts/renesas/r8a774c0-cat874.dts
index 18ff79c37561..959919af5628 100644
--- a/arch/arm64/boot/dts/renesas/r8a774c0-cat874.dts
+++ b/arch/arm64/boot/dts/renesas/r8a774c0-cat874.dts
@@ -22,6 +22,30 @@
stdout-path = "serial0:115200n8";
};
+ leds {
+ compatible = "gpio-leds";
+
+ led0 {
+ gpios = <&gpio5 19 GPIO_ACTIVE_HIGH>;
+ label = "LED0";
+ };
+
+ led1 {
+ gpios = <&gpio3 14 GPIO_ACTIVE_HIGH>;
+ label = "LED1";
+ };
+
+ led2 {
+ gpios = <&gpio4 10 GPIO_ACTIVE_HIGH>;
+ label = "LED2";
+ };
+
+ led3 {
+ gpios = <&gpio6 4 GPIO_ACTIVE_HIGH>;
+ label = "LED3";
+ };
+ };
+
memory@48000000 {
device_type = "memory";
/* first 128MB is reserved for secure area. */
--
2.11.0
next prev parent reply other threads:[~2019-04-03 10:54 UTC|newest]
Thread overview: 28+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-04-03 10:53 [GIT PULL] Renesas ARM64 Based SoC DT Updates for v5.2 Simon Horman
2019-04-03 10:53 ` [PATCH 01/26] arm64: dts: renesas: r8a77990: ebisu: Add GPIO expander Simon Horman
2019-04-03 10:53 ` [PATCH 02/26] arm64: dts: renesas: r8a77990: Fix SPDX license identifier style Simon Horman
2019-04-03 10:53 ` [PATCH 03/26] arm64: dts: renesas: r8a7796: remove unneeded sound #address/size-cells Simon Horman
2019-04-03 10:53 ` [PATCH 04/26] arm64: dts: renesas: r8a77990: ebisu: Enable LVDS1 encoder Simon Horman
2019-04-03 10:53 ` [PATCH 05/26] arm64: dts: renesas: r8a77995: draak: " Simon Horman
2019-04-03 10:53 ` [PATCH 06/26] arm64: dts: renesas: ebisu: Fix adv7482 hexadecimal register address Simon Horman
2019-04-03 10:53 ` [PATCH 07/26] arm64: dts: renesas: r8a77965: add SSIU support for sound Simon Horman
2019-04-03 10:53 ` [PATCH 08/26] arm64: dts: renesas: r8a774c0: Fix cpu nodes style Simon Horman
2019-04-03 10:53 ` [PATCH 09/26] arm64: dts: renesas: cat875: Add CAN support Simon Horman
2019-04-03 10:53 ` [PATCH 10/26] arm64: dts: renesas: r8a774c0-cat874: add RTC support Simon Horman
2019-04-03 10:53 ` Simon Horman [this message]
2019-04-03 10:53 ` [PATCH 12/26] arm64: dts: renesas: ebisu: Enable VIN5 Simon Horman
2019-04-03 10:53 ` [PATCH 13/26] arm64: dts: renesas: r8a774c0-cat874: Add RWDT support Simon Horman
2019-04-03 10:53 ` [PATCH 14/26] arm64: dts: renesas: r8a77995: draak: Enable CAN0, CAN1 Simon Horman
2019-04-03 10:53 ` [PATCH 15/26] arm64: dts: renesas: r8a774c0: Remove invalid compatible value for CSI40 Simon Horman
2019-04-03 10:53 ` [PATCH 16/26] arm64: dts: renesas: r8a77990: " Simon Horman
2019-04-03 10:54 ` [PATCH 17/26] arm64: dts: renesas: r8a77990-ebisu: Add BD9571 PMIC Simon Horman
2019-04-03 10:54 ` [PATCH 18/26] arm64: dts: renesas: ebisu: Add PMIC DDR0 Backup Power config Simon Horman
2019-04-03 10:54 ` [PATCH 19/26] arm64: dts: renesas: r8a774a1: Add clkp2 clock to CAN nodes Simon Horman
2019-04-03 10:54 ` [PATCH 20/26] arm64: dts: renesas: r8a774c0: Add CANFD support Simon Horman
2019-04-03 10:54 ` [PATCH 21/26] arm64: dts: renesas: r8a774c0: Add clkp2 clock to CAN nodes Simon Horman
2019-04-03 10:54 ` [PATCH 22/26] arm64: dts: renesas: Update Ebisu and Draak bootargs Simon Horman
2019-04-03 10:54 ` [PATCH 23/26] arm64: dts: renesas: salvator-common: Sort node label Simon Horman
2019-04-03 10:54 ` [PATCH 24/26] arm64: dts: renesas: r8a77995: draak: Fix EthernetAVB phy mode to rgmii Simon Horman
2019-04-03 10:54 ` [PATCH 25/26] arm64: dts: renesas: use extended audio dmac register Simon Horman
2019-04-03 10:54 ` [PATCH 26/26] arm64: dts: renesas: salvator-common: Add GPIO keys support Simon Horman
2019-04-28 19:16 ` [GIT PULL] Renesas ARM64 Based SoC DT Updates for v5.2 Olof Johansson
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=dc0b439471323521a20314934080f51e8589fd19.1554281697.git.horms+renesas@verge.net.au \
--to=horms+renesas@verge.net.au \
--cc=fabrizio.castro@bp.renesas.com \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-renesas-soc@vger.kernel.org \
--cc=magnus.damm@gmail.com \
/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).