Skip to contentSkip to conversation

arm64: dts: rockchip: fix button reset pin for nanopi r5c

PATCH Applied Tianling Shen 2 participants 2 messages May 10, 2023 – May 13, 2023

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 arm64: dts: rockchip: fix button reset pin for nanopi r5c

The reset pin was wrongly assigned due to a copy/paste error, fix it to match actual gpio pin.

While at it, remove a blank line from nanopi r5s dts.

Fixes 05620031408a ("arm64: dts: rockchip: Add FriendlyARM NanoPi R5C")
---
 arch/arm64/boot/dts/rockchip/rk3568-nanopi-r5c.dts | 2 +-
 arch/arm64/boot/dts/rockchip/rk3568-nanopi-r5s.dts | 1 -
 2 files changed, 1 insertion(+), 2 deletions(-)
arch/arm64/boot/dts/rockchip/rk3568-nanopi-r5c.dts +1 -1
index f70ca9f0470a..c718b8dbb9c6 100644
@@ -106,7 +106,7 @@ pcie20_reset_pin: pcie20-reset-pin {
 
 	rockchip-key {
 		reset_button_pin: reset-button-pin {
-			rockchip,pins = <4 RK_PA0 RK_FUNC_GPIO &pcfg_pull_up>;
+			rockchip,pins = <0 RK_PB7 RK_FUNC_GPIO &pcfg_pull_up>;
 		};
 	};
 };
arch/arm64/boot/dts/rockchip/rk3568-nanopi-r5s.dts +0 -1
index 2a1118f15c29..b6ad8328c7eb 100644
@@ -134,4 +134,3 @@ wan_led_pin: wan-led-pin {
 		};
 	};
 };
-
Signature · 1 line
2.40.1
maintainer Applied
#1 lore raw
Quoted 6 lines · Tianling Shen

The reset pin was wrongly assigned due to a copy/paste error, fix it to match actual gpio pin.

While at it, remove a blank line from nanopi r5s dts.

Applied, thanks!

[1/1] arm64: dts: rockchip: fix button reset pin for nanopi r5c

      commit: 5325593377f07de31f7e473a9677a28a04c891f3

Best regards,

Signature · 1 line
Heiko Stuebner <[email protected]>