Skip to content

Commit

Permalink
fix: adjust LED config
Browse files Browse the repository at this point in the history
  • Loading branch information
redrathnure committed Dec 10, 2024
1 parent dccaf48 commit dda7928
Show file tree
Hide file tree
Showing 3 changed files with 37 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
From: Maxim Medvedev <[email protected]>
Date: Tue, 10 Dec 2024 20:58:18 +0000
Subject: fix: LED config
---
arch/arm64/boot/dts/rockchip/rk3328-roc-cc.dts | 2 ++
1 file changed, 2 insertions(+)

diff --git a/arch/arm64/boot/dts/rockchip/rk3328-roc-cc.dts b/arch/arm64/boot/dts/rockchip/rk3328-roc-cc.dts
index e80377e5328d..5d1612a59226 100755
--- a/arch/arm64/boot/dts/rockchip/rk3328-roc-cc.dts
+++ b/arch/arm64/boot/dts/rockchip/rk3328-roc-cc.dts
@@ -123,17 +123,19 @@ leds {
power_led: led-0 {
label = "firefly:blue:power";
linux,default-trigger = "heartbeat";
gpios = <&rk805 1 GPIO_ACTIVE_LOW>;
default-state = "on";
+ mode = <0x23>;
};

user_led: led-1 {
label = "firefly:yellow:user";
linux,default-trigger = "mmc1";
gpios = <&rk805 0 GPIO_ACTIVE_LOW>;
default-state = "off";
+ mode = <0x05>;
};
};

};

--
Created with Armbian build tools https://github.com/armbian/build

0 comments on commit dda7928

Please sign in to comment.