From 33111eff9521f630dd723abd0dd14ef3a0477701 Mon Sep 17 00:00:00 2001 From: John Crispin Date: Mon, 11 Nov 2013 13:40:17 +0000 Subject: [PATCH] ramips: make the rfkill switch work on fonera20n Signed-off-by: John Crispin SVN-Revision: 38734 --- target/linux/ramips/dts/FONERA20N.dts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/target/linux/ramips/dts/FONERA20N.dts b/target/linux/ramips/dts/FONERA20N.dts index 31e087b5fc34..5c48103231d3 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 */ }; }; -- 2.30.2