[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20210304165300.295952-1-kieran.bingham+renesas@ideasonboard.com>
Date: Thu, 4 Mar 2021 16:53:00 +0000
From: Kieran Bingham <kieran.bingham+renesas@...asonboard.com>
To: Geert Uytterhoeven <geert@...der.be>,
linux-renesas-soc@...r.kernel.org, devicetree@...r.kernel.org,
linux-kernel@...r.kernel.org
Cc: Kieran Bingham <kieran.bingham+renesas@...asonboard.com>
Subject: [PATCH] arm64: dts: renesas: falcon: Add GP LEDs
Three general purpose LEDs are provided on the Falcon CPU board.
Connect GP_LED1, GP_LED2, and GP_LED3 to the gpio-leds frameworks.
These LEDs are arranged in a block of four LEDs on the board itself, but
the fourth LED is as yet unidentified.
Signed-off-by: Kieran Bingham <kieran.bingham+renesas@...asonboard.com>
---
arch/arm64/boot/dts/renesas/r8a779a0-falcon.dts | 14 ++++++++++++++
1 file changed, 14 insertions(+)
diff --git a/arch/arm64/boot/dts/renesas/r8a779a0-falcon.dts b/arch/arm64/boot/dts/renesas/r8a779a0-falcon.dts
index 5617b81dd7dc..a18f84128fe1 100644
--- a/arch/arm64/boot/dts/renesas/r8a779a0-falcon.dts
+++ b/arch/arm64/boot/dts/renesas/r8a779a0-falcon.dts
@@ -20,6 +20,20 @@ aliases {
chosen {
stdout-path = "serial0:115200n8";
};
+
+ leds {
+ compatible = "gpio-leds";
+
+ led1 {
+ gpios = <&gpio4 18 GPIO_ACTIVE_HIGH>;
+ };
+ led2 {
+ gpios = <&gpio4 19 GPIO_ACTIVE_HIGH>;
+ };
+ led3 {
+ gpios = <&gpio4 20 GPIO_ACTIVE_HIGH>;
+ };
+ };
};
&rwdt {
--
2.25.1
Powered by blists - more mailing lists