ath79: teltonika-rut230: fix failsafe boot without SIM tray
authorLech Perczak <lech.perczak@gmail.com>
Mon, 6 Jan 2025 16:31:44 +0000 (17:31 +0100)
committerHauke Mehrtens <hauke@hauke-m.de>
Sun, 12 Jan 2025 20:50:53 +0000 (21:50 +0100)
commit7d597f87096e05f8e53e7cd90cc6c2da6abdf72e
tree15b97b08e7058d5c1ac082c75532626d3b9d58cf
parent6e06e1c0b1cb5ac08167773131901259b889e722
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>
(cherry picked from commit 7b9ca01109827368deb68b7d8217643b78b87cb9)
target/linux/ath79/dts/ar9331_teltonika_rut230-v1.dts