From 21493c984a667c9afb6a25fdff403c58e0dbbeb8 Mon Sep 17 00:00:00 2001
From: John Crispin <john@openwrt.org>
Date: Thu, 17 Dec 2015 09:28:29 +0000
Subject: [PATCH] lantiq: fix ARV7519RW22 buttons
MIME-Version: 1.0
Content-Type: text/plain; charset=utf8
Content-Transfer-Encoding: 8bit

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>

SVN-Revision: 47918
---
 target/linux/lantiq/dts/ARV7519RW22.dts | 14 +++++++-------
 1 file changed, 7 insertions(+), 7 deletions(-)

diff --git a/target/linux/lantiq/dts/ARV7519RW22.dts b/target/linux/lantiq/dts/ARV7519RW22.dts
index 471f347ffe..d33e9d8df3 100644
--- a/target/linux/lantiq/dts/ARV7519RW22.dts
+++ b/target/linux/lantiq/dts/ARV7519RW22.dts
@@ -177,21 +177,21 @@
 		#size-cells = <0>;
 		poll-interval = <100>;
 
-		wps {
-			label = "wps";
-			gpios = <&gpio 20 1>;
-			linux,code = <0x211>;
-		};
 		reset {
 			label = "reset";
-			gpios = <&gpio 22 1>;
+			gpios = <&gpio 6 1>;
 			linux,code = <0x198>;
 		};
 		rfkill {
 			label = "rfkill";
-			gpios = <&gpio 45 1>;
+			gpios = <&gpio 33 1>;
 			linux,code = <0xf7>;
 		};
+		wps {
+			label = "wps";
+			gpios = <&gpio 37 1>;
+			linux,code = <0x211>;
+		};
 	};
 
 	gpio-leds {
-- 
2.34.1