Message ID | f066be60aa99460a45d04113c5e507d6602186f1.1611187213.git.robin.murphy@arm.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | arm64: dts: rockchip: Light "sys" LED on NanoPi R2S | expand |
On Thu, 21 Jan 2021 00:00:13 +0000, Robin Murphy wrote: > Set NanoPi R2S's "sys" LED to be on by default. This matches the > behaviour of the stock FriendlyWRT image, and makes it much easier > to tell when the thing has finished booting. > > Suitable triggers for the two network LEDs cannot realistically be > configured from DT, so leave them be. Applied, thanks! [1/1] arm64: dts: rockchip: Light "sys" LED on NanoPi R2S commit: e060547dd82563160884cf190959f897a2a52656 Best regards,
diff --git a/arch/arm64/boot/dts/rockchip/rk3328-nanopi-r2s.dts b/arch/arm64/boot/dts/rockchip/rk3328-nanopi-r2s.dts index 1eecad724f04..5d794778aad1 100644 --- a/arch/arm64/boot/dts/rockchip/rk3328-nanopi-r2s.dts +++ b/arch/arm64/boot/dts/rockchip/rk3328-nanopi-r2s.dts @@ -50,6 +50,7 @@ sys_led: led-1 { gpios = <&gpio0 RK_PA2 GPIO_ACTIVE_HIGH>; label = "nanopi-r2s:red:sys"; + default-state = "on"; }; wan_led: led-2 {
Set NanoPi R2S's "sys" LED to be on by default. This matches the behaviour of the stock FriendlyWRT image, and makes it much easier to tell when the thing has finished booting. Suitable triggers for the two network LEDs cannot realistically be configured from DT, so leave them be. Signed-off-by: Robin Murphy <robin.murphy@arm.com> --- arch/arm64/boot/dts/rockchip/rk3328-nanopi-r2s.dts | 1 + 1 file changed, 1 insertion(+)