Skip to content

Commit

Permalink
arm64: dts: rockchip: align status(blue) LED behavior (rockchip-linux#16
Browse files Browse the repository at this point in the history
)

label is blue:status, default trigger is heartbeat.

Signed-off-by: FUKAUMI Naoki <[email protected]>
  • Loading branch information
RadxaNaoki authored Aug 8, 2022
1 parent b208713 commit fd19d9f
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 5 deletions.
8 changes: 5 additions & 3 deletions arch/arm64/boot/dts/rockchip/rk3588-rock-5b.dts
Original file line number Diff line number Diff line change
Expand Up @@ -171,11 +171,13 @@
vin-supply = <&vcc5v0_sys>;
};

leds: leds {
leds {
compatible = "gpio-leds";
sta_led: sta {

system-status {
label = "blue:status";
gpios = <&gpio0 RK_PB7 GPIO_ACTIVE_HIGH>;
linux,default-trigger = "timer";
linux,default-trigger = "heartbeat";
};
};

Expand Down
6 changes: 4 additions & 2 deletions arch/arm64/boot/dts/rockchip/rk3588s-rock-5a.dts
Original file line number Diff line number Diff line change
Expand Up @@ -155,9 +155,11 @@
pinctrl-0 = <&usbwifibt_6252b_drv>;
};

leds: leds {
leds {
compatible = "gpio-leds";
sta_led: sta {

system-status {
label = "blue:status";
gpios = <&gpio3 RK_PD5 GPIO_ACTIVE_HIGH>;
linux,default-trigger = "heartbeat";
};
Expand Down

0 comments on commit fd19d9f

Please sign in to comment.