From 161ee85bbe6d27166cee87be0c02a48384e818bf Mon Sep 17 00:00:00 2001 From: David Bauer Date: Thu, 19 Aug 2021 23:31:41 +0200 Subject: 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 --- target/linux/ramips/dts/mt7628an_tplink_tl-mr3020-v3.dts | 2 ++ 1 file changed, 2 insertions(+) (limited to 'target/linux') 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 = ; }; }; -- cgit v1.2.3