Explorar el Código

ramips: fix RT-N13U gpio buttons

https://dev.openwrt.org/ticket/13795

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

SVN-Revision: 37163
John Crispin hace 12 años
padre
commit
2da37a713e
Se han modificado 1 ficheros con 7 adiciones y 2 borrados
  1. 7 2
      target/linux/ramips/dts/RT-N13U.dts

+ 7 - 2
target/linux/ramips/dts/RT-N13U.dts

@@ -70,14 +70,19 @@
 		poll-interval = <10>;
 		reset {
 			label = "reset";
-			gpios = <&gpio0 10 1>;
+			gpios = <&gpio0 4 1>;
 			linux,code = <0x198>;
 		};
 		wps {
 			label = "wps";
-			gpios = <&gpio0 0 1>;
+			gpios = <&gpio0 10 1>;
 			linux,code = <0x211>;
 		};
+		rfkill {
+			label = "rfkill";
+			gpios = <&gpio0 0 1>;
+			linux,code = <0xf7>;
+		};
 	};
 
 	ethernet@10100000 {