summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorblogic <blogic@3c298f89-4303-0410-b956-a3cf2f4a3e73>2013-11-11 13:40:17 +0000
committerblogic <blogic@3c298f89-4303-0410-b956-a3cf2f4a3e73>2013-11-11 13:40:17 +0000
commitfaac5a9307c64e55140a165939c55f904929b4f1 (patch)
treecaa2aaec0d98e518605039171d7bb56b04e115fc
parent566a9ae9adb2fb9cb62a767780ea72bf988f3a34 (diff)
ramips: make the rfkill switch work on fonera20n
Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38734 3c298f89-4303-0410-b956-a3cf2f4a3e73
-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 */
};
};