aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohn Crispin <blogic@openwrt.org>2015-02-02 09:02:16 +0000
committerJohn Crispin <blogic@openwrt.org>2015-02-02 09:02:16 +0000
commitc532af473b991c0e79127ac903068ccc9052d4da (patch)
treec16524279bd3d003841b9f76de0efbbf8134de99
parent4b21f8fd9caa9dc5597ef6fc73cdb4c87dc27ed0 (diff)
downloadupstream-c532af473b991c0e79127ac903068ccc9052d4da.tar.gz
upstream-c532af473b991c0e79127ac903068ccc9052d4da.tar.bz2
upstream-c532af473b991c0e79127ac903068ccc9052d4da.zip
ralink: add FireWRT button detail
Signed-off-by: wengbj <fl.service@t-firefly.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44242 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rw-r--r--target/linux/ramips/dts/FIREWRT.dts12
1 files changed, 12 insertions, 0 deletions
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>;
+ };
+ };
+
};