From: Kurt Roeckx Date: Sun, 14 Feb 2021 13:28:20 +0000 (+0100) Subject: ramips: mark toggle input on EX6150 as a switch X-Git-Tag: v21.02.0-rc1~261 X-Git-Url: http://git.openwrt.org/?p=openwrt%2Fopenwrt.git;a=commitdiff_plain;h=539966554d6d0686dc8ce62e39ff9e8f4e2d4e74 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 --- diff --git a/target/linux/ramips/dts/mt7621_netgear_ex6150.dts b/target/linux/ramips/dts/mt7621_netgear_ex6150.dts index 8fce1d7d6d..2bf858b226 100644 --- a/target/linux/ramips/dts/mt7621_netgear_ex6150.dts +++ b/target/linux/ramips/dts/mt7621_netgear_ex6150.dts @@ -86,6 +86,7 @@ label = "AP/Extender toggle"; gpios = <&gpio 48 GPIO_ACTIVE_LOW>; linux,code = ; + linux,input-type = ; /* Active when switch is set to "Access Point" */ }; };