ramips: add support for ZBT-WE1326
[openwrt/staging/florian.git] / target / linux / ramips / dts / ZTE-Q7.dts
index 2c4c2e57121fc39957fe1750a22b719ba192b2f6..9ec1d89a415336b42143bdf82e4983b54ce4f263 100644 (file)
@@ -2,6 +2,8 @@
 
 #include "mt7620a.dtsi"
 
+#include <dt-bindings/input/input.h>
+
 / {
        compatible = "ZTE-Q7", "ralink,mt7620a-soc";
        model = "ZTE Q7";
@@ -29,7 +31,7 @@
                reset {
                        label = "reset";
                        gpios = <&gpio1 2 1>;
-                       linux,code = <0x198>;
+                       linux,code = <KEY_RESTART>;
                };
        };
 };
@@ -50,7 +52,6 @@
                #size-cells = <1>;
                compatible = "jedec,spi-nor";
                reg = <0>;
-               linux,modalias = "m25p80", "en25q64";
                spi-max-frequency = <10000000>;
 
                partition@0 {