mirror of
https://github.com/openwrt/openwrt.git
synced 2025-03-23 04:25:21 +00:00
rockchip: configure reset button on nanopi R6
Set up openwrt to handle the reset button appropriately (so that it can trigger the various recovery modes) on the nanopi R6S and R6C models. Signed-off-by: Michel Lespinasse <michel@lespinasse.org> Link: https://github.com/openwrt/openwrt/pull/17638 Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
This commit is contained in:
parent
de9ad11dac
commit
2e7d060fd1
@ -0,0 +1,18 @@
|
||||
Nanopi R6: set up reset button to be handled by openwrt
|
||||
|
||||
Set up openwrt to handle the reset button appropriately (so that it
|
||||
can trigger the various recovery modes) on the nanopi R6S and R6C models.
|
||||
|
||||
--- a/arch/arm64/boot/dts/rockchip/rk3588s-nanopi-r6.dtsi
|
||||
+++ b/arch/arm64/boot/dts/rockchip/rk3588s-nanopi-r6.dtsi
|
||||
@@ -48,8 +48,8 @@
|
||||
button-user {
|
||||
debounce-interval = <50>;
|
||||
gpios = <&gpio1 RK_PC0 GPIO_ACTIVE_LOW>;
|
||||
- label = "User Button";
|
||||
- linux,code = <BTN_1>;
|
||||
+ label = "reset";
|
||||
+ linux,code = <KEY_RESTART>;
|
||||
};
|
||||
};
|
||||
|
Loading…
x
Reference in New Issue
Block a user