From: David Bauer Date: Thu, 19 Aug 2021 21:31:41 +0000 (+0200) Subject: ramips: fix input type for TL-MR3020 v3 X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=161ee85bbe6d27166cee87be0c02a48384e818bf;p=openwrt%2Fstaging%2Fblocktrron.git ramips: fix input type for TL-MR3020 v3 The modec{1,2} keys are actually switches. Add the respective DTS properties to avoid accidental activation of failsafe mode. Signed-off-by: David Bauer --- diff --git a/target/linux/ramips/dts/mt7628an_tplink_tl-mr3020-v3.dts b/target/linux/ramips/dts/mt7628an_tplink_tl-mr3020-v3.dts index c90442da1f..f586b07d27 100644 --- a/target/linux/ramips/dts/mt7628an_tplink_tl-mr3020-v3.dts +++ b/target/linux/ramips/dts/mt7628an_tplink_tl-mr3020-v3.dts @@ -31,12 +31,14 @@ label = "sw1"; gpios = <&gpio 41 GPIO_ACTIVE_LOW>; linux,code = ; + linux,input-type = ; }; modec2 { label = "sw2"; gpios = <&gpio 42 GPIO_ACTIVE_LOW>; linux,code = ; + linux,input-type = ; }; };