ramips: use new image build code for more devices
[openwrt/staging/blogic.git] / target / linux / ramips / dts / AWM002-EVB-4M.dts
index e1252325578f4ddd0e640bfaeebabf912ef39153..a8afab80e46d7d4e95a6e138d8a334bd692e556f 100644 (file)
@@ -2,8 +2,10 @@
 
 #include "AWM002-4M.dtsi"
 
+#include <dt-bindings/input/input.h>
+
 / {
-       model = "AsiaRF AWM002 EVB";
+       model = "AsiaRF AWM002 EVB (4M)";
 
        gpio-leds {
                compatible = "gpio-leds";
                reset_wps {
                        label = "reset_wps";
                        gpios = <&gpio0 0 1>;
-                       linux,code = <0x198>;
+                       linux,code = <KEY_RESTART>;
                };
 
                mode {
                        label = "mode";
                        gpios = <&gpio0 20 1>;
-                       linux,code = <0x32>;
+                       linux,code = <BTN_0>;
                };
        };
 };