ramips: use different board names for variants
[openwrt/staging/blogic.git] / target / linux / ramips / dts / WT3020-4M.dts
index 324112100af8b803066cfd29cde4548b0eb47f00..6e40d5a86941c1861e42ed97cc46d1032acbfde9 100644 (file)
@@ -2,9 +2,11 @@
 
 #include "mt7620n.dtsi"
 
+#include <dt-bindings/input/input.h>
+
 / {
        compatible = "wt3020", "ralink,mt7620n-soc";
-       model = "Nexx WT3020";
+       model = "Nexx WT3020 (4M)";
 
        gpio-keys-polled {
                compatible = "gpio-keys-polled";
@@ -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", "w25q32";
                spi-max-frequency = <10000000>;