mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] arm64: dts: rockchip: fix button reset pin for nanopi r5c
@ 2023-05-10 16:18 Tianling Shen
  2023-05-13 16:49 ` Heiko Stuebner
  0 siblings, 1 reply; 2+ messages in thread
From: Tianling Shen @ 2023-05-10 16:18 UTC (permalink / raw)
  To: Krzysztof Kozlowski, Heiko Stuebner, Tianling Shen
  Cc: devicetree, linux-arm-kernel, linux-rockchip, linux-kernel

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")
Signed-off-by: Tianling Shen <cnsztl@gmail.com>
---
 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(-)

diff --git a/arch/arm64/boot/dts/rockchip/rk3568-nanopi-r5c.dts b/arch/arm64/boot/dts/rockchip/rk3568-nanopi-r5c.dts
index f70ca9f0470a..c718b8dbb9c6 100644
--- a/arch/arm64/boot/dts/rockchip/rk3568-nanopi-r5c.dts
+++ b/arch/arm64/boot/dts/rockchip/rk3568-nanopi-r5c.dts
@@ -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>;
 		};
 	};
 };
diff --git a/arch/arm64/boot/dts/rockchip/rk3568-nanopi-r5s.dts b/arch/arm64/boot/dts/rockchip/rk3568-nanopi-r5s.dts
index 2a1118f15c29..b6ad8328c7eb 100644
--- a/arch/arm64/boot/dts/rockchip/rk3568-nanopi-r5s.dts
+++ b/arch/arm64/boot/dts/rockchip/rk3568-nanopi-r5s.dts
@@ -134,4 +134,3 @@ wan_led_pin: wan-led-pin {
 		};
 	};
 };
-
-- 
2.40.1


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] arm64: dts: rockchip: fix button reset pin for nanopi r5c
  2023-05-10 16:18 [PATCH] arm64: dts: rockchip: fix button reset pin for nanopi r5c Tianling Shen
@ 2023-05-13 16:49 ` Heiko Stuebner
  0 siblings, 0 replies; 2+ messages in thread
From: Heiko Stuebner @ 2023-05-13 16:49 UTC (permalink / raw)
  To: Krzysztof Kozlowski, Tianling Shen
  Cc: Heiko Stuebner, linux-arm-kernel, devicetree, linux-rockchip,
	linux-kernel

On Thu, 11 May 2023 00:18:50 +0800, Tianling Shen wrote:
> 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,
-- 
Heiko Stuebner <heiko@sntech.de>

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2023-05-13 16:49 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-05-10 16:18 [PATCH] arm64: dts: rockchip: fix button reset pin for nanopi r5c Tianling Shen
2023-05-13 16:49 ` Heiko Stuebner

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®