arm64: dts: rockchip: Light "sys" LED on NanoPi R2S
authorRobin Murphy <robin.murphy@arm.com>
Thu, 21 Jan 2021 00:00:13 +0000 (00:00 +0000)
committerHeiko Stuebner <heiko@sntech.de>
Mon, 1 Feb 2021 18:00:31 +0000 (19:00 +0100)
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>
Link: https://lore.kernel.org/r/f066be60aa99460a45d04113c5e507d6602186f1.1611187213.git.robin.murphy@arm.com
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
arch/arm64/boot/dts/rockchip/rk3328-nanopi-r2s.dts

index 2ee07d1..5382cf4 100644 (file)
@@ -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 {