From 043f462be49fbf8cbe7f6752df0ba9889c732ef2 Mon Sep 17 00:00:00 2001
From: John Crispin <john@openwrt.org>
Date: Mon, 2 Feb 2015 09:02:16 +0000
Subject: [PATCH] ralink: add FireWRT button detail

Signed-off-by: wengbj <fl.service@t-firefly.com>

SVN-Revision: 44242
---
 target/linux/ramips/dts/FIREWRT.dts | 12 ++++++++++++
 1 file changed, 12 insertions(+)

diff --git a/target/linux/ramips/dts/FIREWRT.dts b/target/linux/ramips/dts/FIREWRT.dts
index faebe2fbe6..f22c885b25 100644
--- a/target/linux/ramips/dts/FIREWRT.dts
+++ b/target/linux/ramips/dts/FIREWRT.dts
@@ -92,4 +92,16 @@
 		};
 	};
 
+	gpio-keys-polled {
+		compatible = "gpio-keys-polled";
+		#address-cells = <1>;
+		#size-cells = <0>;
+		poll-interval = <20>;
+		wps {
+			label = "wps";
+			gpios = <&gpio0 18 1>;
+			linux,code = <0x211>;
+		};
+	};
+
 };
-- 
GitLab