ramips: fix WHR-600D eeprom dt property
[openwrt/openwrt.git] / target / linux / ramips / dts / UR-326N4G.dts
index d90d77c0611cbc034ba74e87eaf74d88bfcef068..4246fa4f3741e6f027e1e8faa9d25d6c8b0839ae 100644 (file)
@@ -2,6 +2,8 @@
 
 #include "rt3050.dtsi"
 
+#include <dt-bindings/input/input.h>
+
 / {
        compatible = "UR-326N4G", "ralink,rt3052-soc";
        model = "UPVEL UR-326N4G";
                reset_wps {
                        label = "reset_wps";
                        gpios = <&gpio0 10 1>;
-                       linux,code = <0x198>;
+                       linux,code = <KEY_RESTART>;
                };
 
                mode {
                        label = "mode";
                        gpios = <&gpio0 7 1>;
-                       linux,code = <0x32>;
+                       linux,code = <BTN_0>;
                };
        };
 };