ramips: fix WHR-600D eeprom dt property
[openwrt/openwrt.git] / target / linux / ramips / dts / 3G300M.dts
index df770d83d5110b063b4ac0126a0cb06029a005ed..4d19bca6dad3464556a7afb8e97d1b0d3df89466 100644 (file)
@@ -2,6 +2,8 @@
 
 #include "rt3050.dtsi"
 
+#include <dt-bindings/input/input.h>
+
 / {
        compatible = "3G300M", "ralink,rt3052-soc";
        model = "Tenda 3G300M";
                reset {
                        label = "reset";
                        gpios = <&gpio0 0 1>;
-                       linux,code = <0x198>;
+                       linux,code = <KEY_RESTART>;
                };
 
                mode {
                        label = "mode";
                        gpios = <&gpio0 10 1>;
-                       linux,code = <0x100>;
+                       linux,code = <BTN_0>;
                };
        };
 };