ramips: make the rfkill switch work on fonera20n
authorJohn Crispin <john@openwrt.org>
Mon, 11 Nov 2013 13:40:17 +0000 (13:40 +0000)
committerJohn Crispin <john@openwrt.org>
Mon, 11 Nov 2013 13:40:17 +0000 (13:40 +0000)
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 38734

target/linux/ramips/dts/FONERA20N.dts

index 31e087b5fc34d84c148feba4b58fabe2a058b192..5c48103231d3b5bc0198a8d5a5bd19f4688d01f5 100644 (file)
@@ -77,7 +77,8 @@
                switch {
                        label = "switch";
                        gpios = <&gpio0 13 1>;
-                       linux,code = <0x101>;
+                       linux,code = <0xf7>;
+                       linux,input-type = <5>; /* EV_SW */
                };
        };