summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLech Perczak2025-01-06 16:31:44 +0000
committerHauke Mehrtens2025-01-12 20:36:04 +0000
commit7b9ca01109827368deb68b7d8217643b78b87cb9 (patch)
tree819d2362c1ac24da87aeda4835830d6284449921
parentd04f41e092294789b5add6816bb3b3bd7570a30d (diff)
downloadopenwrt-7b9ca01109827368deb68b7d8217643b78b87cb9.tar.gz
ath79: teltonika-rut230: fix failsafe boot without SIM tray
Due to "SIM present" input defaulting to "button" type, it is interpreted as such when booting, and causes the system to enter failsafe, if the tray is missing. Similarly to rfkill switch on TP-Link WDR4300 and Archer C7, make it EV_SW instead, to stop it from interfering with the boot process. Signed-off-by: Lech Perczak <lech.perczak@gmail.com> Link: https://github.com/openwrt/openwrt/pull/17503 Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
-rw-r--r--target/linux/ath79/dts/ar9331_teltonika_rut230-v1.dts1
1 files changed, 1 insertions, 0 deletions
diff --git a/target/linux/ath79/dts/ar9331_teltonika_rut230-v1.dts b/target/linux/ath79/dts/ar9331_teltonika_rut230-v1.dts
index 192a7d2a04..73a6cc52ca 100644
--- a/target/linux/ath79/dts/ar9331_teltonika_rut230-v1.dts
+++ b/target/linux/ath79/dts/ar9331_teltonika_rut230-v1.dts
@@ -36,6 +36,7 @@
sim-tray {
label = "sim-tray";
+ linux,input-type = <EV_SW>;
linux,code = <BTN_1>;
gpios = <&gpio 20 GPIO_ACTIVE_LOW>;
debounce-interval = <60>;