mirror of
https://github.com/Fishwaldo/build.git
synced 2025-03-23 07:11:26 +00:00
30 lines
732 B
Diff
30 lines
732 B
Diff
diff --git a/arch/arm64/boot/dts/rockchip/rk3328-roc-cc.dts b/arch/arm64/boot/dts/rockchip/rk3328-roc-cc.dts
|
|
index 33c44e857..171c377f8 100644
|
|
--- a/arch/arm64/boot/dts/rockchip/rk3328-roc-cc.dts
|
|
+++ b/arch/arm64/boot/dts/rockchip/rk3328-roc-cc.dts
|
|
@@ -81,6 +81,25 @@
|
|
regulator-always-on;
|
|
regulator-boot-on;
|
|
};
|
|
+
|
|
+ leds {
|
|
+ compatible = "gpio-leds";
|
|
+ power {
|
|
+ label = "firefly:blue:power";
|
|
+ linux,default-trigger = "heartbeat";
|
|
+ gpios = <&rk805 1 GPIO_ACTIVE_LOW>;
|
|
+ default-state = "on";
|
|
+ mode = <0x23>;
|
|
+ };
|
|
+
|
|
+ user {
|
|
+ label = "firefly:yellow:user";
|
|
+ linux,default-trigger = "mmc1";
|
|
+ gpios = <&rk805 0 GPIO_ACTIVE_LOW>;
|
|
+ default-state = "off";
|
|
+ mode = <0x05>;
|
|
+ };
|
|
+ };
|
|
};
|
|
|
|
&cpu0 {
|