treewide: dts: use keycode defines from input dt-binding
[openwrt/openwrt.git] / target / linux / ramips / dts / JHR-N926R.dts
index 1a63656ed9391f10d5542a8de0715fe3a45216e5..e5b64c5b96fd56944a8f8916ac09edf888d54472 100644 (file)
@@ -2,6 +2,8 @@
 
 #include "rt3050.dtsi"
 
+#include <dt-bindings/input/input.h>
+
 / {
        compatible = "JHR-N926R", "ralink,rt3052-soc";
        model = "JCG JHR-N926R";
                reset_wps {
                        label = "reset_wps";
                        gpios = <&gpio0 10 1>;
-                       linux,code = <0x198>;
+                       linux,code = <KEY_RESTART>;
                };
 
                wlan {
                        label = "wlan";
                        gpios = <&gpio0 1 1>;
-                       linux,code = <0x100>;
+                       linux,code = <BTN_0>;
                };
        };
 };