mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-26 17:01:14 +00:00
30 lines
748 B
Diff
30 lines
748 B
Diff
|
--- a/arch/arm64/boot/dts/rockchip/rk3566-rock-3c.dts
|
||
|
+++ b/arch/arm64/boot/dts/rockchip/rk3566-rock-3c.dts
|
||
|
@@ -16,6 +16,10 @@
|
||
|
mmc0 = &sdhci;
|
||
|
mmc1 = &sdmmc0;
|
||
|
mmc2 = &sdmmc1;
|
||
|
+ led-boot = &led_blue;
|
||
|
+ led-failsafe = &led_blue;
|
||
|
+ led-running = &led_blue;
|
||
|
+ led-upgrade = &led_blue;
|
||
|
};
|
||
|
|
||
|
chosen: chosen {
|
||
|
@@ -43,11 +47,11 @@
|
||
|
leds {
|
||
|
compatible = "gpio-leds";
|
||
|
|
||
|
- led-0 {
|
||
|
- gpios = <&gpio0 RK_PA0 GPIO_ACTIVE_HIGH>;
|
||
|
- function = LED_FUNCTION_HEARTBEAT;
|
||
|
+ led_blue: led-0 {
|
||
|
color = <LED_COLOR_ID_BLUE>;
|
||
|
- linux,default-trigger = "heartbeat";
|
||
|
+ default-state = "on";
|
||
|
+ function = LED_FUNCTION_HEARTBEAT;
|
||
|
+ gpios = <&gpio0 RK_PA0 GPIO_ACTIVE_HIGH>;
|
||
|
pinctrl-names = "default";
|
||
|
pinctrl-0 = <&user_led2>;
|
||
|
};
|