[openwrt/openwrt] ramips: mark toggle input on EX6150 as a switch

LEDE Commits lede-commits at lists.infradead.org
Sun Feb 14 18:00:46 EST 2021


adrian pushed a commit to openwrt/openwrt.git, branch master:
https://git.openwrt.org/539966554d6d0686dc8ce62e39ff9e8f4e2d4e74

commit 539966554d6d0686dc8ce62e39ff9e8f4e2d4e74
Author: Kurt Roeckx <kurt at roeckx.be>
AuthorDate: Sun Feb 14 14:28:20 2021 +0100

    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 at roeckx.be>
---
 target/linux/ramips/dts/mt7621_netgear_ex6150.dts | 1 +
 1 file changed, 1 insertion(+)

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" */
 		};
 	};



More information about the lede-commits mailing list