diff mbox series

[1/4] arm64: rk3399: r4s: correct the LEDS label name

Message ID 20210706144400.8665-1-peterwillcn@gmail.com
State Accepted
Commit 2ae7dacfafd5affe7de6e9b44e88b4994707680d
Delegated to: Kever Yang
Headers show
Series [1/4] arm64: rk3399: r4s: correct the LEDS label name | expand

Commit Message

Xiaobo Tian July 6, 2021, 2:43 p.m. UTC
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>
---
 arch/arm/dts/rk3399-nanopi-r4s.dts | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

Comments

Kever Yang Aug. 11, 2021, 10:06 a.m. UTC | #1
Xiaobo Tian <peterwillcn@gmail.com> 于2021年7月6日周二 下午10:44写道:
>
> 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>

Thanks,
- Kever
> ---
>  arch/arm/dts/rk3399-nanopi-r4s.dts | 5 ++---
>  1 file changed, 2 insertions(+), 3 deletions(-)
>
> diff --git a/arch/arm/dts/rk3399-nanopi-r4s.dts b/arch/arm/dts/rk3399-nanopi-r4s.dts
> index 6f2cf17bf1..7470c26820 100644
> --- a/arch/arm/dts/rk3399-nanopi-r4s.dts
> +++ b/arch/arm/dts/rk3399-nanopi-r4s.dts
> @@ -76,18 +76,17 @@
>  &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>;
>  };
> --
> 2.32.0
>
diff mbox series

Patch

diff --git a/arch/arm/dts/rk3399-nanopi-r4s.dts b/arch/arm/dts/rk3399-nanopi-r4s.dts
index 6f2cf17bf1..7470c26820 100644
--- a/arch/arm/dts/rk3399-nanopi-r4s.dts
+++ b/arch/arm/dts/rk3399-nanopi-r4s.dts
@@ -76,18 +76,17 @@ 
 &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>;
 };