summaryrefslogtreecommitdiff
path: root/target
diff options
context:
space:
mode:
authorJohn Crispin <john@openwrt.org>2013-11-11 13:40:17 +0000
committerJohn Crispin <john@openwrt.org>2013-11-11 13:40:17 +0000
commit33111eff9521f630dd723abd0dd14ef3a0477701 (patch)
tree215471aed821003b06e01c231cb4d597d090dc55 /target
parent000cefd85e8e7e1f3f19fe65c830646dcdfb4502 (diff)
downloadmtk-20170518-33111eff9521f630dd723abd0dd14ef3a0477701.zip
mtk-20170518-33111eff9521f630dd723abd0dd14ef3a0477701.tar.gz
mtk-20170518-33111eff9521f630dd723abd0dd14ef3a0477701.tar.bz2
ramips: make the rfkill switch work on fonera20n
Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 38734
Diffstat (limited to 'target')
-rw-r--r--target/linux/ramips/dts/FONERA20N.dts3
1 files changed, 2 insertions, 1 deletions
diff --git a/target/linux/ramips/dts/FONERA20N.dts b/target/linux/ramips/dts/FONERA20N.dts
index 31e087b..5c48103 100644
--- a/target/linux/ramips/dts/FONERA20N.dts
+++ b/target/linux/ramips/dts/FONERA20N.dts
@@ -77,7 +77,8 @@
switch {
label = "switch";
gpios = <&gpio0 13 1>;
- linux,code = <0x101>;
+ linux,code = <0xf7>;
+ linux,input-type = <5>; /* EV_SW */
};
};