ralink: add FireWRT button detail
authorJohn Crispin <blogic@openwrt.org>
Mon, 2 Feb 2015 09:02:16 +0000 (09:02 +0000)
committerJohn Crispin <blogic@openwrt.org>
Mon, 2 Feb 2015 09:02:16 +0000 (09:02 +0000)
Signed-off-by: wengbj <fl.service@t-firefly.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44242 3c298f89-4303-0410-b956-a3cf2f4a3e73

target/linux/ramips/dts/FIREWRT.dts

index faebe2f..f22c885 100644 (file)
                };
        };
 
+       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>;
+               };
+       };
+
 };