ramips: use new image build code for more devices
[openwrt/staging/blogic.git] / target / linux / ramips / dts / PX-4885.dtsi
index b135b5747b556cdc10f020025929bc9ee3e4607b..cb9586d556d8e5938671a052e439d511aa779424 100644 (file)
@@ -1,8 +1,9 @@
 #include "rt5350.dtsi"
 
+#include <dt-bindings/input/input.h>
+
 / {
        compatible = "PX-4885", "ralink,rt5350-soc";
-       model = "7Links PX-4885";
 
        gpio-keys-polled {
                compatible = "gpio-keys-polled";
@@ -13,7 +14,7 @@
                reset {
                        label = "reset";
                        gpios = <&gpio0 10 1>;
-                       linux,code = <0x198>;
+                       linux,code = <KEY_RESTART>;
                };
        };