treewide: dts: use keycode defines from input dt-binding
[openwrt/openwrt.git] / target / linux / oxnas / files / arch / arm / boot / dts / ox820-stg212.dts
index a0704bb348ea63f72529c767c32e582e1a92cfa5..a8112c947c07e7ae4a5f39b90b241435424b40a0 100644 (file)
@@ -10,6 +10,8 @@
 
 #include "ox820.dtsi"
 
+#include <dt-bindings/input/input.h>
+
 / {
        model = "MitraStar Technology Corp. STG-212";
 
                reset {
                        label = "reset";
                        gpios = <&GPIOB 11 1>;
-                       linux,code = <0x198>;
+                       linux,code = <KEY_RESTART>;
                };
                copy {
                        label = "copy";
                        gpios = <&GPIOB 13 1>;
-                       linux,code = <0x85>;
+                       linux,code = <KEY_COPY>;
                };
        };