From faac5a9307c64e55140a165939c55f904929b4f1 Mon Sep 17 00:00:00 2001 From: blogic Date: Mon, 11 Nov 2013 13:40:17 +0000 Subject: 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 --- target/linux/ramips/dts/FONERA20N.dts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'target/linux/ramips') 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 */ }; }; -- cgit v1.2.3