소스 검색

ramips: make the rfkill switch work on fonera20n

Signed-off-by: John Crispin <[email protected]>

SVN-Revision: 38734
John Crispin 12 년 전
부모
커밋
33111eff95
1개의 변경된 파일2개의 추가작업 그리고 1개의 파일을 삭제
  1. 2 1
      target/linux/ramips/dts/FONERA20N.dts

+ 2 - 1
target/linux/ramips/dts/FONERA20N.dts

@@ -77,7 +77,8 @@
 		switch {
 		switch {
 			label = "switch";
 			label = "switch";
 			gpios = <&gpio0 13 1>;
 			gpios = <&gpio0 13 1>;
-			linux,code = <0x101>;
+			linux,code = <0xf7>;
+			linux,input-type = <5>; /* EV_SW */
 		};
 		};
 	};
 	};