mirror of
https://github.com/openwrt/openwrt.git
synced 2025-04-03 01:21:34 +00:00
ath79: teltonika-rut230: fix failsafe boot without SIM tray
Some checks failed
Some checks failed
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> (cherry picked from commit 7b9ca01109827368deb68b7d8217643b78b87cb9)
This commit is contained in:
parent
6e06e1c0b1
commit
7d597f8709
@ -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>;
|
||||
|
Loading…
x
Reference in New Issue
Block a user