[PATCH] arm64: dts: rockchip: arm64: make the system run light heartbeat

xiaobo peterwillcn at gmail.com
Sun Jul 4 21:25:18 PDT 2021


Make the system run light heartbeat, remove the wrong supply voltage.

Signed-off-by: xiaobo <peterwillcn at gmail.com>
---
 .../boot/dts/rockchip/rk3399-nanopi-r4s.dts   | 23 +++----------------
 1 file changed, 3 insertions(+), 20 deletions(-)

diff --git a/arch/arm64/boot/dts/rockchip/rk3399-nanopi-r4s.dts b/arch/arm64/boot/dts/rockchip/rk3399-nanopi-r4s.dts
index fa5809887643..943f8d7c7909 100644
--- a/arch/arm64/boot/dts/rockchip/rk3399-nanopi-r4s.dts
+++ b/arch/arm64/boot/dts/rockchip/rk3399-nanopi-r4s.dts
@@ -1,7 +1,5 @@
 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
 /*
- * FriendlyElec NanoPC-T4 board device tree source
- *
  * Copyright (c) 2020 FriendlyElec Computer Tech. Co., Ltd.
  * (http://www.friendlyarm.com)
  *
@@ -9,6 +7,7 @@
  *
  * Copyright (c) 2020 Jensen Huang <jensenhuang at friendlyarm.com>
  * Copyright (c) 2020 Marty Jones <mj8263788 at gmail.com>
+ * Copyright (C) 2020 Xiaobo Tian <peterwillcn at gmail.com>
  * Copyright (c) 2021 Tianling Shen <cnsztl at gmail.com>
  */
 
@@ -24,20 +23,12 @@ / {
 	gpio-leds {
 		pinctrl-0 = <&lan_led_pin>, <&sys_led_pin>, <&wan_led_pin>;
 
-		/delete-node/ led-0;
-
-		lan_led: led-lan {
+		lan_led: led-1 {
 			gpios = <&gpio1 RK_PA1 GPIO_ACTIVE_HIGH>;
 			label = "green:lan";
 		};
 
-		sys_led: led-sys {
-			gpios = <&gpio0 RK_PB5 GPIO_ACTIVE_HIGH>;
-			label = "red:sys";
-			default-state = "on";
-		};
-
-		wan_led: led-wan {
+		wan_led: led-2 {
 			gpios = <&gpio1 RK_PA0 GPIO_ACTIVE_HIGH>;
 			label = "green:wan";
 		};
@@ -86,10 +77,6 @@ lan_led_pin: lan-led-pin {
 			rockchip,pins = <1 RK_PA1 RK_FUNC_GPIO &pcfg_pull_none>;
 		};
 
-		sys_led_pin: sys-led-pin {
-			rockchip,pins = <0 RK_PB5 RK_FUNC_GPIO &pcfg_pull_none>;
-		};
-
 		wan_led_pin: wan-led-pin {
 			rockchip,pins = <1 RK_PA0 RK_FUNC_GPIO &pcfg_pull_none>;
 		};
@@ -127,7 +114,3 @@ &uart0 {
 &usbdrd_dwc3_0 {
 	dr_mode = "host";
 };
-
-&vcc3v3_sys {
-	vin-supply = <&vcc5v0_sys>;
-};
-- 
2.32.0




More information about the Linux-rockchip mailing list