forked from armbian/build
-
-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
dccaf48
commit dda7928
Showing
3 changed files
with
37 additions
and
0 deletions.
There are no files selected for viewing
1 change: 1 addition & 0 deletions
1
patch/kernel/archive/rockchip64-6.12/rk3328-roc-cc-mkspi-dts-adaptions_6_leds.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
../rockchip64-6.6/rk3328-roc-cc-mkspi-dts-adaptions_6_leds.patch |
35 changes: 35 additions & 0 deletions
35
patch/kernel/archive/rockchip64-6.6/rk3328-roc-cc-mkspi-dts-adaptions_6_leds.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
|
1 change: 1 addition & 0 deletions
1
patch/kernel/archive/rockchip64-6.9/rk3328-roc-cc-mkspi-dts-adaptions_6_leds.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
../rockchip64-6.6/rk3328-roc-cc-mkspi-dts-adaptions_6_leds.patch |