arm64: rk3399: r4s: correct the LEDS label name
authorXiaobo Tian <peterwillcn@gmail.com>
Tue, 6 Jul 2021 14:43:57 +0000 (22:43 +0800)
committerKever Yang <kever.yang@rock-chips.com>
Wed, 11 Aug 2021 10:10:39 +0000 (18:10 +0800)
Correct the LEDS label name and remove the board type prefix,
which is actually unnecessary here, removes the redefined system status LED pin.

Signed-off-by: Xiaobo Tian <peterwillcn@gmail.com>
Reviewed-by: Kever Yang <kever.yang@rock-chips.com>
arch/arm/dts/rk3399-nanopi-r4s.dts

index 6f2cf17..7470c26 100644 (file)
 &leds {
        lan_led: led-1 {
                gpios = <&gpio1 RK_PA1 GPIO_ACTIVE_HIGH>;
-               label = "nanopi-r4s:green:lan";
+               label = "green:lan";
        };
 
        wan_led: led-2 {
                gpios = <&gpio1 RK_PA0 GPIO_ACTIVE_HIGH>;
-               label = "nanopi-r4s:green:wan";
+               label = "green:wan";
        };
 };
 
 &leds_gpio {
        rockchip,pins =
-               <0 RK_PB5 RK_FUNC_GPIO &pcfg_pull_none>,
                <1 RK_PA0 RK_FUNC_GPIO &pcfg_pull_none>,
                <1 RK_PA1 RK_FUNC_GPIO &pcfg_pull_none>;
 };