From: blogic Date: Mon, 11 Nov 2013 13:40:17 +0000 (+0000) Subject: ramips: make the rfkill switch work on fonera20n X-Git-Url: https://git.archive.openwrt.org/?p=openwrt.git;a=commitdiff_plain;h=faac5a9307c64e55140a165939c55f904929b4f1 ramips: make the rfkill switch work on fonera20n Signed-off-by: John Crispin git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38734 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- 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 */ }; };