ramips: cleanup dts files of mt7621 based boards
[openwrt/staging/lynxis/omap.git] / target / linux / ramips / dts / WT3020-8M.dts
index e7abb8e6eb79c41e942200b3945b08983bdf93ed..0e15d031f57bad092bc084ea3b02be59d9941693 100644 (file)
@@ -2,6 +2,8 @@
 
 #include "mt7620n.dtsi"
 
+#include <dt-bindings/input/input.h>
+
 / {
        compatible = "wt3020", "ralink,mt7620n-soc";
        model = "Nexx WT3020";
@@ -15,7 +17,7 @@
                reset {
                        label = "reset";
                        gpios = <&gpio0 1 1>;
-                       linux,code = <0x198>;
+                       linux,code = <KEY_RESTART>;
                };
        };
 
@@ -44,7 +46,7 @@
                #address-cells = <1>;
                #size-cells = <1>;
                compatible = "jedec,spi-nor";
-               reg = <0 0>;
+               reg = <0>;
                linux,modalias = "m25p80", "w25q64";
                spi-max-frequency = <10000000>;