ramips: make the rfkill switch work on fonera20n
[openwrt/openwrt.git] / 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 */
                };
        };