From: Wolfram Sang <wsa+renesas@sang-engineering.com>
To: linux-renesas-soc@vger.kernel.org
Cc: Thomas Bonnefille <thomas.bonnefille@bootlin.com>,
Wolfram Sang <wsa+renesas@sang-engineering.com>,
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>,
devicetree@vger.kernel.org
Subject: [PATCH] ARM: dts: renesas: r9a06g032-rzn1d400-eb: correct LAN LED nodes
Date: Fri, 11 Apr 2025 11:54:26 +0200 [thread overview]
Message-ID: <20250411095425.1842-2-wsa+renesas@sang-engineering.com> (raw)
This board only connects two LEDs instead of three. Also, give them
descriptions to avoid namespace collusions.
Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
---
.../dts/renesas/r9a06g032-rzn1d400-eb.dts | 23 ++++++++++++-------
1 file changed, 15 insertions(+), 8 deletions(-)
diff --git a/arch/arm/boot/dts/renesas/r9a06g032-rzn1d400-eb.dts b/arch/arm/boot/dts/renesas/r9a06g032-rzn1d400-eb.dts
index ee875902a75c..068563d6047b 100644
--- a/arch/arm/boot/dts/renesas/r9a06g032-rzn1d400-eb.dts
+++ b/arch/arm/boot/dts/renesas/r9a06g032-rzn1d400-eb.dts
@@ -6,6 +6,7 @@
*
*/
+#include <dt-bindings/leds/common.h>
#include "r9a06g032-rzn1d400-db.dts"
/ {
@@ -102,15 +103,18 @@ switch0phy1: ethernet-phy@1 {
leds {
#address-cells = <1>;
#size-cells = <0>;
-
led@0 {
reg = <0>;
+ color = <LED_COLOR_ID_GREEN>;
+ function = LED_FUNCTION_LAN;
+ default-state = "keep";
};
+
led@1 {
reg = <1>;
- };
- led@2 {
- reg = <2>;
+ color = <LED_COLOR_ID_RED>;
+ function = LED_FUNCTION_ACTIVITY;
+ default-state = "keep";
};
};
};
@@ -120,15 +124,18 @@ switch0phy10: ethernet-phy@10 {
leds {
#address-cells = <1>;
#size-cells = <0>;
-
led@0 {
reg = <0>;
+ color = <LED_COLOR_ID_GREEN>;
+ function = LED_FUNCTION_LAN;
+ default-state = "keep";
};
+
led@1 {
reg = <1>;
- };
- led@2 {
- reg = <2>;
+ color = <LED_COLOR_ID_RED>;
+ function = LED_FUNCTION_ACTIVITY;
+ default-state = "keep";
};
};
};
--
2.47.2
next reply other threads:[~2025-04-11 9:54 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-04-11 9:54 Wolfram Sang [this message]
2025-04-11 10:15 ` [PATCH] ARM: dts: renesas: r9a06g032-rzn1d400-eb: correct LAN LED nodes Geert Uytterhoeven
2025-04-11 10:35 ` Wolfram Sang
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=20250411095425.1842-2-wsa+renesas@sang-engineering.com \
--to=wsa+renesas@sang-engineering.com \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=geert+renesas@glider.be \
--cc=krzk+dt@kernel.org \
--cc=linux-renesas-soc@vger.kernel.org \
--cc=magnus.damm@gmail.com \
--cc=robh@kernel.org \
--cc=thomas.bonnefille@bootlin.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