From 16d0ce52b0255aa6ae64e7b293448df3f13d9773 Mon Sep 17 00:00:00 2001
From: Gabor Juhos <juhosg@openwrt.org>
Date: Sun, 7 Apr 2013 16:24:33 +0000
Subject: [PATCH] ramips: fix polarity of GPIO buttons for RT-N56U

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 36257
---
 target/linux/ramips/dts/RTN56U.dts | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/target/linux/ramips/dts/RTN56U.dts b/target/linux/ramips/dts/RTN56U.dts
index bec10cdbc2..9ba7248696 100644
--- a/target/linux/ramips/dts/RTN56U.dts
+++ b/target/linux/ramips/dts/RTN56U.dts
@@ -97,12 +97,12 @@
 		poll-interval = <100>;
 		reset {
 			label = "reset";
-			gpios = <&gpio0 13 0>;
+			gpios = <&gpio0 13 1>;
 			linux,code = <0x198>;
 		};
 		wps {
 			label = "wps";
-			gpios = <&gpio1 2 0>;
+			gpios = <&gpio1 2 1>;
 			linux,code = <0x211>;
 		};
 	};
-- 
2.30.2