Skip to content
Snippets Groups Projects
Commit 161ee85b authored by David Bauer's avatar David Bauer
Browse files

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: default avatarDavid Bauer <mail@david-bauer.net>
parent ec2078e3
No related branches found
No related tags found
No related merge requests found
......@@ -31,12 +31,14 @@
label = "sw1";
gpios = <&gpio 41 GPIO_ACTIVE_LOW>;
linux,code = <BTN_0>;
linux,input-type = <EV_SW>;
};
modec2 {
label = "sw2";
gpios = <&gpio 42 GPIO_ACTIVE_LOW>;
linux,code = <BTN_1>;
linux,input-type = <EV_SW>;
};
};
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment