mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-28 09:39:00 +00:00
28 lines
622 B
Diff
28 lines
622 B
Diff
|
--- a/arch/arm64/boot/dts/rockchip/rk3568-rock-3b.dts
|
||
|
+++ b/arch/arm64/boot/dts/rockchip/rk3568-rock-3b.dts
|
||
|
@@ -18,6 +18,10 @@
|
||
|
mmc0 = &sdhci;
|
||
|
mmc1 = &sdmmc0;
|
||
|
mmc2 = &sdmmc2;
|
||
|
+ led-boot = &led_green;
|
||
|
+ led-failsafe = &led_green;
|
||
|
+ led-running = &led_green;
|
||
|
+ led-upgrade = &led_green;
|
||
|
};
|
||
|
|
||
|
chosen {
|
||
|
@@ -47,12 +51,11 @@
|
||
|
pinctrl-names = "default";
|
||
|
pinctrl-0 = <&led>;
|
||
|
|
||
|
- led-0 {
|
||
|
+ led_green: led-0 {
|
||
|
color = <LED_COLOR_ID_GREEN>;
|
||
|
default-state = "on";
|
||
|
function = LED_FUNCTION_HEARTBEAT;
|
||
|
gpios = <&gpio0 RK_PB7 GPIO_ACTIVE_HIGH>;
|
||
|
- linux,default-trigger = "heartbeat";
|
||
|
};
|
||
|
};
|
||
|
|