ramips: mark toggle input on EX6150 as a switch

The Netgear EX6150 has an Access Point/Extender switch. Set it as
an EV_SW. Otherwise when it's set to Access Point, it will trigger
failsafe mode during boot.

Fixes: FS#3590
Signed-off-by: Kurt Roeckx <kurt@roeckx.be>
This commit is contained in:
Kurt Roeckx 2021-02-14 14:28:20 +01:00 committed by Adrian Schmutzler
parent 0fde111702
commit 539966554d
1 changed files with 1 additions and 0 deletions

View File

@ -86,6 +86,7 @@
label = "AP/Extender toggle";
gpios = <&gpio 48 GPIO_ACTIVE_LOW>;
linux,code = <BTN_0>;
linux,input-type = <EV_SW>;
/* Active when switch is set to "Access Point" */
};
};