aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips
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/linux/ramips
parent000cefd85e8e7e1f3f19fe65c830646dcdfb4502 (diff)
downloadupstream-33111eff9521f630dd723abd0dd14ef3a0477701.tar.gz
upstream-33111eff9521f630dd723abd0dd14ef3a0477701.tar.bz2
upstream-33111eff9521f630dd723abd0dd14ef3a0477701.zip
ramips: make the rfkill switch work on fonera20n
Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 38734
Diffstat (limited to 'target/linux/ramips')
-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 31e087b5fc..5c48103231 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 */
};
};