treewide: fix spelling 'seperate' -> 'separate'
[openwrt/openwrt.git] / target / linux / rockchip / patches-5.10 / 100-rockchip-use-system-LED-for-OpenWrt.patch
1 From 6731d2c9039fbe1ecf21915eab3acee0a999508a Mon Sep 17 00:00:00 2001
2 From: David Bauer <mail@david-bauer.net>
3 Date: Fri, 10 Jul 2020 21:38:20 +0200
4 Subject: [PATCH] rockchip: use system LED for OpenWrt
5
6 Use the SYS LED on the casing for showing system status.
7
8 This patch is kept separate from the NanoPi R2S support patch, as i plan
9 on submitting the device support upstream.
10
11 Signed-off-by: David Bauer <mail@david-bauer.net>
12 ---
13 arch/arm64/boot/dts/rockchip/rk3328-nanopi-r2s.dts | 9 ++++++++-
14 1 file changed, 8 insertions(+), 1 deletion(-)
15
16 --- a/arch/arm64/boot/dts/rockchip/rk3328-nanopi-r2s.dts
17 +++ b/arch/arm64/boot/dts/rockchip/rk3328-nanopi-r2s.dts
18 @@ -13,6 +13,13 @@
19 model = "FriendlyElec NanoPi R2S";
20 compatible = "friendlyarm,nanopi-r2s", "rockchip,rk3328";
21
22 + aliases {
23 + led-boot = &sys_led;
24 + led-failsafe = &sys_led;
25 + led-running = &sys_led;
26 + led-upgrade = &sys_led;
27 + };
28 +
29 chosen {
30 stdout-path = "serial2:1500000n8";
31 };