Skip to content

Commit 86bf2e0

Browse files
committed
Revert "rak7268v2: Disable dying-gasp key / fix failsafe triggered on boot."
This reverts commit 14cb7d0. A better option is setting the CONFIG_TARGET_PREINIT_DISABLE_FAILSAFE in the config.
1 parent 14cb7d0 commit 86bf2e0

File tree

1 file changed

+6
-9
lines changed

1 file changed

+6
-9
lines changed

conf/rak_rak7268v2/patches/rak636_device.patch

Lines changed: 6 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ Index: openwrt/target/linux/ramips/dts/mt7628an_rakwireless_rak636.dts
22
===================================================================
33
--- /dev/null
44
+++ openwrt/target/linux/ramips/dts/mt7628an_rakwireless_rak636.dts
5-
@@ -0,0 +1,178 @@
5+
@@ -0,0 +1,175 @@
66
+// SPDX-License-Identifier: GPL-2.0-or-later OR MIT
77
+
88
+#include "mt7628an.dtsi"
@@ -48,14 +48,11 @@ Index: openwrt/target/linux/ramips/dts/mt7628an_rakwireless_rak636.dts
4848
+ linux,code = <0x198>;
4949
+ };
5050
+
51-
+ // Disabled, as this might trigger the gateway to boot into failsafe
52-
+ // mode in some cases, in which case it will no longer be remotely
53-
+ // accessible.
54-
+ // dying-gasp {
55-
+ // label = "dying-gasp";
56-
+ // gpios = <&gpio 18 GPIO_ACTIVE_LOW>;
57-
+ // linux,code = <BTN_7>;
58-
+ // };
51+
+ dying-gasp {
52+
+ label = "dying-gasp";
53+
+ gpios = <&gpio 18 GPIO_ACTIVE_LOW>;
54+
+ linux,code = <BTN_7>;
55+
+ };
5956
+ };
6057
+};
6158
+

0 commit comments

Comments
 (0)