ramips: add support for ZBT-WE1326
[openwrt/staging/florian.git] / target / linux / ramips / dts / WT3020-8M.dts
index e7abb8e6eb79c41e942200b3945b08983bdf93ed..987eed4ee541d1e587a50bc8816e4acfeefe778a 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 (8M)";
 
        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,8 +46,7 @@
                #address-cells = <1>;
                #size-cells = <1>;
                compatible = "jedec,spi-nor";
-               reg = <0 0>;
-               linux,modalias = "m25p80", "w25q64";
+               reg = <0>;
                spi-max-frequency = <10000000>;
 
                partition@0 {