#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>;
};
};