ramips: add support for Sitecom WLR-6000
[oweals/openwrt.git] / target / linux / ramips / dts / DIR-860L-B1.dts
index 579df585c71a5a33de1c9fa2cd32599f588313cf..5154a4dedb6e245b4f627601175d7ab0f1b7098c 100644 (file)
@@ -2,6 +2,8 @@
 
 #include "mt7621.dtsi"
 
+#include <dt-bindings/input/input.h>
+
 / {
        compatible = "ralink,mt7621-eval-board", "ralink,mt7621-soc";
        model = "D-Link DIR-860L B1";
                reset {
                        label = "reset";
                        gpios = <&gpio0 7 1>;
-                       linux,code = <0x198>;
+                       linux,code = <KEY_RESTART>;
                };
 
                wps {
                        label = "wps";
                        gpios = <&gpio0 18 1>;
-                       linux,code = <0x211>;
+                       linux,code = <KEY_WPS_BUTTON>;
                };
        };
 };