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>
(cherry picked from commit 539966554d)
Signed-off-by: CN_SZTL <cnsztl@project-openwrt.eu.org>
This commit is contained in:
Kurt Roeckx 2021-02-14 14:28:20 +01:00 committed by CN_SZTL
parent 86eb785feb
commit 01150c776b
No known key found for this signature in database
GPG Key ID: 6850B6345C862176

View File

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