diff options
author | Kurt Roeckx <kurt@roeckx.be> | 2021-02-14 14:28:20 +0100 |
---|---|---|
committer | Adrian Schmutzler <freifunk@adrianschmutzler.de> | 2021-02-15 00:00:38 +0100 |
commit | 539966554d6d0686dc8ce62e39ff9e8f4e2d4e74 (patch) | |
tree | e4c4e259ec3d1162acac375bb853733024aab76d /target/linux/ramips/dts | |
parent | 0fde111702a587e7d653bc8c2695202392df9f8b (diff) | |
download | upstream-539966554d6d0686dc8ce62e39ff9e8f4e2d4e74.tar.gz upstream-539966554d6d0686dc8ce62e39ff9e8f4e2d4e74.tar.bz2 upstream-539966554d6d0686dc8ce62e39ff9e8f4e2d4e74.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>
Diffstat (limited to 'target/linux/ramips/dts')
-rw-r--r-- | target/linux/ramips/dts/mt7621_netgear_ex6150.dts | 1 |
1 files changed, 1 insertions, 0 deletions
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 = <BTN_0>; + linux,input-type = <EV_SW>; /* Active when switch is set to "Access Point" */ }; }; |