[PATCH 3/3] arm64: dts: allwinner: sun60i-a733-cubie-a7z: add the user LED

From: Vinicius Pedrosa

Date: Wed Nov 11 2026 - 09:02:59 EST


Describe the green user LED on the Radxa Cubie A7Z. It is driven high
by PM2 and uses the heartbeat trigger by default.

Signed-off-by: Vinicius Pedrosa <vinicius.eduardo.pedrosa@xxxxxxxxx>
---
.../boot/dts/allwinner/sun60i-a733-cubie-a7z.dts | 12 ++++++++++++
1 file changed, 12 insertions(+)

diff --git a/arch/arm64/boot/dts/allwinner/sun60i-a733-cubie-a7z.dts b/arch/arm64/boot/dts/allwinner/sun60i-a733-cubie-a7z.dts
index ab3d3d70f9ff..5dee2084906c 100644
--- a/arch/arm64/boot/dts/allwinner/sun60i-a733-cubie-a7z.dts
+++ b/arch/arm64/boot/dts/allwinner/sun60i-a733-cubie-a7z.dts
@@ -4,6 +4,7 @@
#include "sun60i-a733.dtsi"

#include <dt-bindings/gpio/gpio.h>
+#include <dt-bindings/leds/common.h>

/ {
model = "Radxa Cubie A7Z";
@@ -18,6 +19,17 @@ chosen {
stdout-path = "serial0:115200n8";
};

+ leds {
+ compatible = "gpio-leds";
+
+ led-0 {
+ function = LED_FUNCTION_HEARTBEAT;
+ color = <LED_COLOR_ID_GREEN>;
+ gpios = <&r_pio 1 2 GPIO_ACTIVE_HIGH>; /* PM2 */
+ linux,default-trigger = "heartbeat";
+ };
+ };
+
reg_ps: regulator-system-power {
compatible = "regulator-fixed";
regulator-name = "ps";
--
2.43.0