mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-22 23:12:32 +00:00
4e09722a68
Hardware -------- RockChip RK3568 ARM64 (4 cores) 1GB or 4GB LPDDR4X RAM 2x 2500 Base-T 4 LEDs (LAN / WAN / WIFI / POWER) 1 Button (Reset) 8GB or 32GB eMMC on-board Micro-SD Slot M.2 Slot 2x USB 3.0 Port Installation ------------ Uncompress the OpenWrt sysupgrade and write it to a micro SD card or internal eMMC using dd. Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
38 lines
1.2 KiB
Diff
38 lines
1.2 KiB
Diff
From 5325593377f07de31f7e473a9677a28a04c891f3 Mon Sep 17 00:00:00 2001
|
|
From: Tianling Shen <cnsztl@gmail.com>
|
|
Date: Thu, 11 May 2023 00:18:50 +0800
|
|
Subject: [PATCH] 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")
|
|
Signed-off-by: Tianling Shen <cnsztl@gmail.com>
|
|
Link: https://lore.kernel.org/r/20230510161850.4866-1-cnsztl@gmail.com
|
|
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
|
|
---
|
|
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(-)
|
|
|
|
--- a/arch/arm64/boot/dts/rockchip/rk3568-nanopi-r5c.dts
|
|
+++ b/arch/arm64/boot/dts/rockchip/rk3568-nanopi-r5c.dts
|
|
@@ -106,7 +106,7 @@
|
|
|
|
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>;
|
|
};
|
|
};
|
|
};
|
|
--- a/arch/arm64/boot/dts/rockchip/rk3568-nanopi-r5s.dts
|
|
+++ b/arch/arm64/boot/dts/rockchip/rk3568-nanopi-r5s.dts
|
|
@@ -134,4 +134,3 @@
|
|
};
|
|
};
|
|
};
|
|
-
|