ramips: fix WHR-600D eeprom dt property
[openwrt/openwrt.git] / target / linux / ramips / dts / MLW221.dts
index 670a36aadb3675e5c5894582d71141993b69ffda..05d7dfff8a4506820e876901fb5c6b748d960fc5 100644 (file)
@@ -2,6 +2,8 @@
 
 #include "mt7620n.dtsi"
 
+#include <dt-bindings/input/input.h>
+
 / {
        compatible = "mlw221", "ralink,mt7620n-soc";
        model = "Kingston MLW221";
                reset {
                        label = "reset";
                        gpios = <&gpio0 1 1>;
-                       linux,code = <0x198>;
+                       linux,code = <KEY_RESTART>;
                };
 
                system {
                        label = "system";
                        gpios = <&gpio0 2 1>;
-                       linux,code = <0x211>;
+                       linux,code = <KEY_RFKILL>;
                };
        };
 };