From: Marek Vasut <marek.vasut@mailbox.org>
To: u-boot@lists.denx.de
Cc: Marek Vasut <marek.vasut@mailbox.org>,
"NXP i.MX U-Boot Team" <uboot-imx@nxp.com>,
Fabio Estevam <festevam@gmail.com>,
Stefano Babic <sbabic@nabladev.com>,
Tom Rini <trini@konsulko.com>,
u-boot@dh-electronics.com
Subject: [PATCH] arm64: dts: imx8mp: Add missing LED enumerators for DH electronics i.MX8M Plus DHCOM on PDK2
Date: Tue, 4 Nov 2025 02:52:03 +0100 [thread overview]
Message-ID: <20251104015212.220542-1-marek.vasut@mailbox.org> (raw)
The LED enumerators are missing, which prevents the LEDs from being
accurately told apart by label. Fill in the enumerators the same way
they are already present on PDK3. Put this into local DT extras until
matching kernel patch lands in Linux.
Signed-off-by: Marek Vasut <marek.vasut@mailbox.org>
---
Cc: "NXP i.MX U-Boot Team" <uboot-imx@nxp.com>
Cc: Fabio Estevam <festevam@gmail.com>
Cc: Stefano Babic <sbabic@nabladev.com>
Cc: Tom Rini <trini@konsulko.com>
Cc: u-boot@dh-electronics.com
Cc: u-boot@lists.denx.de
---
Linux counterpart: https://lore.kernel.org/linux-arm-kernel/20251104015031.219863-1-marek.vasut@mailbox.org/
---
arch/arm/dts/imx8mp-dhcom-pdk2-u-boot.dtsi | 20 ++++++++++++++++++++
1 file changed, 20 insertions(+)
diff --git a/arch/arm/dts/imx8mp-dhcom-pdk2-u-boot.dtsi b/arch/arm/dts/imx8mp-dhcom-pdk2-u-boot.dtsi
index be2d4fb184a..b8b3abd0f03 100644
--- a/arch/arm/dts/imx8mp-dhcom-pdk2-u-boot.dtsi
+++ b/arch/arm/dts/imx8mp-dhcom-pdk2-u-boot.dtsi
@@ -4,3 +4,23 @@
*/
#include "imx8mp-dhcom-u-boot.dtsi"
+
+/ {
+ led {
+ led-0 {
+ function-enumerator = <0>;
+ };
+
+ led-1 {
+ function-enumerator = <1>;
+ };
+
+ led-2 {
+ function-enumerator = <2>;
+ };
+
+ led-3 {
+ function-enumerator = <3>;
+ };
+ };
+};
--
2.51.0
next reply other threads:[~2025-11-04 1:52 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-11-04 1:52 Marek Vasut [this message]
2025-11-04 8:35 ` [PATCH] arm64: dts: imx8mp: Add missing LED enumerators for DH electronics i.MX8M Plus DHCOM on PDK2 Peng Fan
2025-11-04 18:06 ` Fabio Estevam
-- strict thread matches above, loose matches on Subject: below --
2025-11-04 1:50 Marek Vasut
2025-11-16 12:28 ` Shawn Guo
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=20251104015212.220542-1-marek.vasut@mailbox.org \
--to=marek.vasut@mailbox.org \
--cc=festevam@gmail.com \
--cc=sbabic@nabladev.com \
--cc=trini@konsulko.com \
--cc=u-boot@dh-electronics.com \
--cc=u-boot@lists.denx.de \
--cc=uboot-imx@nxp.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.