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
6 The reset pin was wrongly assigned due to a copy/paste error,
7 fix it to match actual gpio pin.
9 While at it, remove a blank line from nanopi r5s dts.
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>
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(-)
20 --- a/arch/arm64/boot/dts/rockchip/rk3568-nanopi-r5c.dts
21 +++ b/arch/arm64/boot/dts/rockchip/rk3568-nanopi-r5c.dts
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>;
31 --- a/arch/arm64/boot/dts/rockchip/rk3568-nanopi-r5s.dts
32 +++ b/arch/arm64/boot/dts/rockchip/rk3568-nanopi-r5s.dts