kernel/rockchip: Create kernel files for v6.6 (from v6.1)
[openwrt/staging/stintel.git] / target / linux / rockchip / patches-6.6 / 107-arm64-dts-rockchip-Update-LED-properties-for-Orange-.patch
1 From d2166e3b3680bd2b206aebf1e1ce4c0d346f3c50 Mon Sep 17 00:00:00 2001
2 From: Tianling Shen <cnsztl@gmail.com>
3 Date: Fri, 19 May 2023 12:10:52 +0800
4 Subject: [PATCH] arm64: dts: rockchip: Update LED properties for Orange Pi R1
5 Plus
6
7 Add OpenWrt's LED aliases for showing system status.
8
9 Signed-off-by: Tianling Shen <cnsztl@gmail.com>
10 ---
11 .../dts/rockchip/rk3328-orangepi-r1-plus.dts | 17 +++++++++--------
12 1 file changed, 9 insertions(+), 8 deletions(-)
13
14 --- a/arch/arm64/boot/dts/rockchip/rk3328-orangepi-r1-plus.dts
15 +++ b/arch/arm64/boot/dts/rockchip/rk3328-orangepi-r1-plus.dts
16 @@ -17,6 +17,11 @@
17 aliases {
18 ethernet1 = &rtl8153;
19 mmc0 = &sdmmc;
20 +
21 + led-boot = &status_led;
22 + led-failsafe = &status_led;
23 + led-running = &status_led;
24 + led-upgrade = &status_led;
25 };
26
27 chosen {
28 @@ -41,11 +46,10 @@
29 gpios = <&gpio2 RK_PB7 GPIO_ACTIVE_HIGH>;
30 };
31
32 - led-1 {
33 + status_led: led-1 {
34 function = LED_FUNCTION_STATUS;
35 color = <LED_COLOR_ID_RED>;
36 gpios = <&gpio3 RK_PC5 GPIO_ACTIVE_HIGH>;
37 - linux,default-trigger = "heartbeat";
38 };
39
40 led-2 {