]> git.ipfire.org Git - thirdparty/openwrt.git/commit
rockchip: add reset button support for NanoPi R5S LTS 22700/head
authorRoman Pyatikonov <moyciti.volga.bk.ru92@gmail.com>
Mon, 30 Mar 2026 20:11:59 +0000 (23:11 +0300)
committerHauke Mehrtens <hauke@hauke-m.de>
Sun, 5 Apr 2026 00:08:54 +0000 (02:08 +0200)
commitd3a905e0cdb9102d62ecfc0608bd61e61e5c1ffb
treea3e85df6c0ddeb4a6d44bb1cced647970f95f53f
parent8ea46952d626fdda7565a52affdc7bd547396cab
rockchip: add reset button support for NanoPi R5S LTS

Backport upstream commit 954f07012794 ("arm64: dts: rockchip:
Add reset button to NanoPi R5S").

The NanoPi R5S LTS variant has a reset button wired to GPIO4_A0,
but the current OpenWrt rockchip 6.12 patch set lacks the
corresponding gpio-keys definition in rk3568-nanopi-r5s.dts.

As a result, pressing the button generates no reset event.
rockchip already includes kmod-gpio-button-hotplug by default,
so backporting the upstream DTS change restores the expected
behavior.

Rename the patch to
011-v6.17-arm64-dts-rockchip-Add-reset-button-to-NanoPi-R5S.patch
to match the upstream source.

The non-LTS NanoPi R5S leaves this pin unconnected, matching the
upstream rationale for using the shared rk3568-nanopi-r5s.dts.

Link: https://lore.kernel.org/r/20250711142138.197445-1-didi.debian@cknow.org
Signed-off-by: Roman Pyatikonov <moyciti.volga.bk.ru92@gmail.com>
Link: https://github.com/openwrt/openwrt/pull/22700
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
target/linux/rockchip/patches-6.12/011-v6.17-arm64-dts-rockchip-Add-reset-button-to-NanoPi-R5S.patch [new file with mode: 0644]
target/linux/rockchip/patches-6.12/110-arm64-dts-rockchip-Update-LED-properties-for-NanoPi-.patch