aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/dts
diff options
context:
space:
mode:
authorJohn Crispin <blogic@openwrt.org>2013-11-11 13:40:17 +0000
committerJohn Crispin <blogic@openwrt.org>2013-11-11 13:40:17 +0000
commit420ee99bbb4286482d59d0ff855d40e83c2ca53d (patch)
treecaa2aaec0d98e518605039171d7bb56b04e115fc /target/linux/ramips/dts
parentff91a491c3acf41e378e8fc78a43c94f72865973 (diff)
downloadupstream-420ee99bbb4286482d59d0ff855d40e83c2ca53d.tar.gz
upstream-420ee99bbb4286482d59d0ff855d40e83c2ca53d.tar.bz2
upstream-420ee99bbb4286482d59d0ff855d40e83c2ca53d.zip
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
Diffstat (limited to 'target/linux/ramips/dts')
-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 */
};
};