From: John Crispin <john@openwrt.org>
Date: Thu, 4 Jul 2013 13:31:23 +0000 (+0000)
Subject: ramips: fix RT-N13U gpio buttons
X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=2da37a713e8264a041353e66fa0b7aeaaee7483e;p=openwrt%2Fstaging%2Fadrian.git

ramips: fix RT-N13U gpio buttons

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

Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 37163
---

diff --git a/target/linux/ramips/dts/RT-N13U.dts b/target/linux/ramips/dts/RT-N13U.dts
index 162a5c85d9..2e1a62cdc2 100644
--- a/target/linux/ramips/dts/RT-N13U.dts
+++ b/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 {