From: Prabhakar <prabhakar.csengg@gmail.com>
To: Geert Uytterhoeven <geert+renesas@glider.be>,
Magnus Damm <magnus.damm@gmail.com>,
Rob Herring <robh@kernel.org>,
Krzysztof Kozlowski <krzk+dt@kernel.org>,
Conor Dooley <conor+dt@kernel.org>
Cc: linux-renesas-soc@vger.kernel.org, devicetree@vger.kernel.org,
linux-kernel@vger.kernel.org,
Prabhakar <prabhakar.csengg@gmail.com>,
Biju Das <biju.das.jz@bp.renesas.com>,
Fabrizio Castro <fabrizio.castro.jz@renesas.com>,
Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
Subject: [PATCH 6/6] arm64: dts: renesas: r9a09g087m44-rzn2h-evk: Add user LEDs
Date: Wed, 25 Jun 2025 16:30:42 +0100 [thread overview]
Message-ID: <20250625153042.159690-7-prabhakar.mahadev-lad.rj@bp.renesas.com> (raw)
In-Reply-To: <20250625153042.159690-1-prabhakar.mahadev-lad.rj@bp.renesas.com>
From: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
Add USER LED0-LED8, which are available on RZ/N2H EVK.
Signed-off-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
---
.../dts/renesas/r9a09g087m44-rzn2h-evk.dts | 54 +++++++++++++++++++
1 file changed, 54 insertions(+)
diff --git a/arch/arm64/boot/dts/renesas/r9a09g087m44-rzn2h-evk.dts b/arch/arm64/boot/dts/renesas/r9a09g087m44-rzn2h-evk.dts
index d6ba14a26f03..f6437e82a7de 100644
--- a/arch/arm64/boot/dts/renesas/r9a09g087m44-rzn2h-evk.dts
+++ b/arch/arm64/boot/dts/renesas/r9a09g087m44-rzn2h-evk.dts
@@ -7,10 +7,64 @@
/dts-v1/;
+#include <dt-bindings/gpio/gpio.h>
+
#include "r9a09g087m44.dtsi"
#include "rzt2h-n2h-evk-common.dtsi"
/ {
model = "Renesas RZ/N2H EVK Board based on r9a09g087m44";
compatible = "renesas,rzn2h-evk", "renesas,r9a09g087m44", "renesas,r9a09g087";
+
+ leds {
+ compatible = "gpio-leds";
+
+ led3 {
+ /* DSW18-7: ON, DSW18-8: OFF */
+ gpios = <&pinctrl RZN2H_GPIO(31, 6) GPIO_ACTIVE_LOW>;
+ };
+
+ led4 {
+ /* DSW18-9: ON, DSW18-10: OFF */
+ gpios = <&pinctrl RZN2H_GPIO(18, 1) GPIO_ACTIVE_LOW>;
+ };
+
+ led5 {
+ /* DSW18-1: ON, DSW18-2: OFF */
+ gpios = <&pinctrl RZN2H_GPIO(22, 7) GPIO_ACTIVE_LOW>;
+ };
+
+ led6 {
+ /* DSW18-3: ON, DSW18-4: OFF */
+ gpios = <&pinctrl RZN2H_GPIO(23, 0) GPIO_ACTIVE_LOW>;
+ };
+
+ led7 {
+ /*
+ * DSW18-5: ON, DSW18-6: OFF
+ * DSW19-3: ON, DSW19-4: OFF
+ */
+ gpios = <&pinctrl RZN2H_GPIO(14, 3) GPIO_ACTIVE_LOW>;
+ };
+
+ led8 {
+ /* DSW15-8: OFF, DSW15-9: OFF, DSW15-10: ON */
+ gpios = <&pinctrl RZN2H_GPIO(14, 6) GPIO_ACTIVE_LOW>;
+ };
+
+ led9 {
+ /* DSW15-5: OFF, DSW16-6: ON */
+ gpios = <&pinctrl RZN2H_GPIO(14, 7) GPIO_ACTIVE_LOW>;
+ };
+
+ led10 {
+ /* DSW17-3: OFF, DSW17-4: ON */
+ gpios = <&pinctrl RZN2H_GPIO(2, 7) GPIO_ACTIVE_LOW>;
+ };
+
+ led11 {
+ /* DSW17-1: OFF, DSW17-2: ON */
+ gpios = <&pinctrl RZN2H_GPIO(3, 0) GPIO_ACTIVE_LOW>;
+ };
+ };
};
--
2.49.0
next prev parent reply other threads:[~2025-06-25 15:31 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-06-25 15:30 [PATCH 0/6] arm64: dts: renesas: Add I2C and SDHI nodes for RZ/T2H and RZ/N2H SoCs Prabhakar
2025-06-25 15:30 ` [PATCH 1/6] arm64: dts: renesas: r9a09g077: Add I2C controller nodes Prabhakar
2025-07-03 9:45 ` Geert Uytterhoeven
2025-07-03 23:51 ` Lad, Prabhakar
2025-06-25 15:30 ` [PATCH 2/6] arm64: dts: renesas: r9a09g087: " Prabhakar
2025-07-03 9:50 ` Geert Uytterhoeven
2025-06-25 15:30 ` [PATCH 3/6] arm64: dts: renesas: r9a09g077: Add SDHI nodes Prabhakar
2025-07-03 9:55 ` Geert Uytterhoeven
2025-07-03 23:52 ` Lad, Prabhakar
2025-07-04 17:12 ` Lad, Prabhakar
2025-07-07 9:47 ` Geert Uytterhoeven
2025-06-25 15:30 ` [PATCH 4/6] arm64: dts: renesas: r9a09g087: " Prabhakar
2025-07-03 9:56 ` Geert Uytterhoeven
2025-07-07 9:48 ` Geert Uytterhoeven
2025-06-25 15:30 ` [PATCH 5/6] arm64: dts: renesas: r9a09g077m44-rzt2h-evk: Add user LEDs Prabhakar
2025-06-25 15:30 ` Prabhakar [this message]
2025-06-26 14:26 ` [PATCH 0/6] arm64: dts: renesas: Add I2C and SDHI nodes for RZ/T2H and RZ/N2H SoCs Geert Uytterhoeven
2025-06-27 12:53 ` Lad, Prabhakar
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=20250625153042.159690-7-prabhakar.mahadev-lad.rj@bp.renesas.com \
--to=prabhakar.csengg@gmail.com \
--cc=biju.das.jz@bp.renesas.com \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=fabrizio.castro.jz@renesas.com \
--cc=geert+renesas@glider.be \
--cc=krzk+dt@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-renesas-soc@vger.kernel.org \
--cc=magnus.damm@gmail.com \
--cc=prabhakar.mahadev-lad.rj@bp.renesas.com \
--cc=robh@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).