treewide: dts: use keycode defines from input dt-binding
[openwrt/openwrt.git] / target / linux / ramips / dts / D105.dts
index 2e86d1edac2a35e138243759984c23547a106f33..f7ace49f6285a7c2c19a884d2863e2f3223194db 100644 (file)
@@ -2,6 +2,8 @@
 
 #include "rt3050.dtsi"
 
+#include <dt-bindings/input/input.h>
+
 / {
        compatible = "D105", "ralink,rt3050-soc";
        model = "Huawei D105";
@@ -61,7 +63,7 @@
                reset {
                        label = "reset";
                        gpios = <&gpio0 10 1>;
-                       linux,code = <0x198>;
+                       linux,code = <KEY_RESTART>;
                };
        };
 };