From: Daniel Palmer <daniel@thingy.jp>
To: linux-arm-kernel@lists.infradead.org
Cc: romain.perier@gmail.com, robh@kernel.org, krzk+dt@kernel.org,
conor+dt@kernel.org, devicetree@vger.kernel.org,
linux-kernel@vger.kernel.org, Daniel Palmer <daniel@0x0f.com>
Subject: [PATCH 1/8] ARM: dts: mstar: unitv2: Wire up LEDs
Date: Mon, 13 Jul 2026 19:59:43 +0900 [thread overview]
Message-ID: <20260713105950.1346962-2-daniel@thingy.jp> (raw)
In-Reply-To: <20260713105950.1346962-1-daniel@thingy.jp>
From: Daniel Palmer <daniel@0x0f.com>
Add the red and white leds present on the unitv2.
Signed-off-by: Daniel Palmer <daniel@0x0f.com>
---
.../mstar-infinity2m-ssd202d-unitv2.dts | 21 +++++++++++++++++++
1 file changed, 21 insertions(+)
diff --git a/arch/arm/boot/dts/sigmastar/mstar-infinity2m-ssd202d-unitv2.dts b/arch/arm/boot/dts/sigmastar/mstar-infinity2m-ssd202d-unitv2.dts
index a81684002e45..f02de5b475af 100644
--- a/arch/arm/boot/dts/sigmastar/mstar-infinity2m-ssd202d-unitv2.dts
+++ b/arch/arm/boot/dts/sigmastar/mstar-infinity2m-ssd202d-unitv2.dts
@@ -7,6 +7,9 @@
/dts-v1/;
#include "mstar-infinity2m-ssd202d.dtsi"
+#include <dt-bindings/gpio/gpio.h>
+#include <dt-bindings/leds/common.h>
+
/ {
model = "UnitV2";
compatible = "m5stack,unitv2", "mstar,infinity2m";
@@ -18,6 +21,24 @@ aliases {
chosen {
stdout-path = "serial0:115200n8";
};
+
+ leds {
+ compatible = "gpio-leds";
+
+ led-0 {
+ color = <LED_COLOR_ID_WHITE>;
+ function = LED_FUNCTION_INDICATOR;
+ gpios = <&gpio SSD20XD_GPIO_GPIO0 GPIO_ACTIVE_LOW>;
+ linux,default-trigger = "cpu";
+ };
+
+ led-1 {
+ color = <LED_COLOR_ID_RED>;
+ function = LED_FUNCTION_INDICATOR;
+ gpios = <&gpio SSD20XD_GPIO_GPIO1 GPIO_ACTIVE_LOW>;
+ linux,default-trigger = "heartbeat";
+ };
+ };
};
&pm_uart {
--
2.53.0
next prev parent reply other threads:[~2026-07-13 11:00 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-07-13 10:59 [PATCH 0/8] ARM: mstar: Board filling out pt. 1 Daniel Palmer
2026-07-13 10:59 ` Daniel Palmer [this message]
2026-07-13 10:59 ` [PATCH 2/8] ARM: dts: mstar: unitv2: Add regulators Daniel Palmer
2026-07-13 11:08 ` sashiko-bot
2026-07-13 10:59 ` [PATCH 3/8] ARM: dts: mstar: unitv2: Add button Daniel Palmer
2026-07-13 10:59 ` [PATCH 4/8] ARM: dts: mstar: unitv2: Link cpu to core regulator Daniel Palmer
2026-07-13 11:07 ` sashiko-bot
2026-07-13 10:59 ` [PATCH 5/8] ARM: dts: mstar: miyoo-mini: Add vibrator Daniel Palmer
2026-07-13 11:08 ` sashiko-bot
2026-07-13 10:59 ` [PATCH 6/8] ARM: dts: mstar: miyoo-mini: Add vbat switch Daniel Palmer
2026-07-13 11:09 ` sashiko-bot
2026-07-13 10:59 ` [PATCH 7/8] ARM: dts: mstar: sbc2d06: Add regulators Daniel Palmer
2026-07-13 11:08 ` sashiko-bot
2026-07-13 10:59 ` [PATCH 8/8] ARM: dts: mstar: ssd201htv2: Add SD card supply regulator Daniel Palmer
2026-07-13 11:11 ` sashiko-bot
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=20260713105950.1346962-2-daniel@thingy.jp \
--to=daniel@thingy.jp \
--cc=conor+dt@kernel.org \
--cc=daniel@0x0f.com \
--cc=devicetree@vger.kernel.org \
--cc=krzk+dt@kernel.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=robh@kernel.org \
--cc=romain.perier@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 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.