aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/dts
diff options
context:
space:
mode:
authorKurt Roeckx <kurt@roeckx.be>2021-02-14 14:28:20 +0100
committerAdrian Schmutzler <freifunk@adrianschmutzler.de>2021-02-15 00:02:23 +0100
commit224fa47bf93769698f847749e06b197293452dbe (patch)
tree0865589be077c781ee32cddba15308add64bfeed /target/linux/ramips/dts
parent3a05aa17db86fa6a420cc7115f2ca62eefa946ec (diff)
downloadupstream-224fa47bf93769698f847749e06b197293452dbe.tar.gz
upstream-224fa47bf93769698f847749e06b197293452dbe.tar.bz2
upstream-224fa47bf93769698f847749e06b197293452dbe.zip
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 539966554d6d0686dc8ce62e39ff9e8f4e2d4e74)
Diffstat (limited to 'target/linux/ramips/dts')
-rw-r--r--target/linux/ramips/dts/EX6150.dts1
1 files changed, 1 insertions, 0 deletions
diff --git a/target/linux/ramips/dts/EX6150.dts b/target/linux/ramips/dts/EX6150.dts
index a5827f270d..bd0a146533 100644
--- a/target/linux/ramips/dts/EX6150.dts
+++ b/target/linux/ramips/dts/EX6150.dts
@@ -97,6 +97,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" */
};
};