mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-26 08:51:13 +00:00
28 lines
614 B
Diff
28 lines
614 B
Diff
|
--- a/arch/arm64/boot/dts/rockchip/rk3328-rock-pi-e.dts
|
||
|
+++ b/arch/arm64/boot/dts/rockchip/rk3328-rock-pi-e.dts
|
||
|
@@ -23,6 +23,10 @@
|
||
|
aliases {
|
||
|
mmc0 = &sdmmc;
|
||
|
mmc1 = &emmc;
|
||
|
+ led-boot = &led_blue;
|
||
|
+ led-failsafe = &led_blue;
|
||
|
+ led-running = &led_blue;
|
||
|
+ led-upgrade = &led_blue;
|
||
|
};
|
||
|
|
||
|
chosen {
|
||
|
@@ -55,10 +59,11 @@
|
||
|
pinctrl-0 = <&led_pin>;
|
||
|
pinctrl-names = "default";
|
||
|
|
||
|
- led-0 {
|
||
|
+ led_blue: led-0 {
|
||
|
color = <LED_COLOR_ID_BLUE>;
|
||
|
+ default-state = "on";
|
||
|
+ function = LED_FUNCTION_HEARTBEAT;
|
||
|
gpios = <&gpio3 RK_PA5 GPIO_ACTIVE_LOW>;
|
||
|
- linux,default-trigger = "heartbeat";
|
||
|
};
|
||
|
};
|
||
|
|