0e59f0275be61e5a8f51c87790323b2339a6ffc8
[openwrt/staging/ansuel.git] /
1 From 5325593377f07de31f7e473a9677a28a04c891f3 Mon Sep 17 00:00:00 2001
2 From: Tianling Shen <cnsztl@gmail.com>
3 Date: Thu, 11 May 2023 00:18:50 +0800
4 Subject: [PATCH] arm64: dts: rockchip: fix button reset pin for nanopi r5c
5
6 The reset pin was wrongly assigned due to a copy/paste error,
7 fix it to match actual gpio pin.
8
9 While at it, remove a blank line from nanopi r5s dts.
10
11 Fixes: 05620031408a ("arm64: dts: rockchip: Add FriendlyARM NanoPi R5C")
12 Signed-off-by: Tianling Shen <cnsztl@gmail.com>
13 Link: https://lore.kernel.org/r/20230510161850.4866-1-cnsztl@gmail.com
14 Signed-off-by: Heiko Stuebner <heiko@sntech.de>
15 ---
16 arch/arm64/boot/dts/rockchip/rk3568-nanopi-r5c.dts | 2 +-
17 arch/arm64/boot/dts/rockchip/rk3568-nanopi-r5s.dts | 1 -
18 2 files changed, 1 insertion(+), 2 deletions(-)
19
20 --- a/arch/arm64/boot/dts/rockchip/rk3568-nanopi-r5c.dts
21 +++ b/arch/arm64/boot/dts/rockchip/rk3568-nanopi-r5c.dts
22 @@ -106,7 +106,7 @@
23
24 rockchip-key {
25 reset_button_pin: reset-button-pin {
26 - rockchip,pins = <4 RK_PA0 RK_FUNC_GPIO &pcfg_pull_up>;
27 + rockchip,pins = <0 RK_PB7 RK_FUNC_GPIO &pcfg_pull_up>;
28 };
29 };
30 };
31 --- a/arch/arm64/boot/dts/rockchip/rk3568-nanopi-r5s.dts
32 +++ b/arch/arm64/boot/dts/rockchip/rk3568-nanopi-r5s.dts
33 @@ -134,4 +134,3 @@
34 };
35 };
36 };
37 -