ramips: cleanup SPI flash device tree properties usage
[openwrt/openwrt.git] / target / linux / ramips / dts / ZBT-WR8305RT.dts
index 4f226d901effb2253aeebb85482574b752d9eb3b..81598bd237dd1b6a785e215f8cd6527c38c6997e 100644 (file)
@@ -2,6 +2,8 @@
 
 #include "mt7620n.dtsi"
 
+#include <dt-bindings/input/input.h>
+
 / {
        compatible = "zbtlink,zbt-wr8305rt", "ralink,mt7620n-soc";
        model = "Zbtlink ZBT-WR8305RT";
@@ -34,7 +36,7 @@
                reset {
                        label = "reset";
                        gpios = <&gpio0 1 1>;
-                       linux,code = <0x198>;
+                       linux,code = <KEY_RESTART>;
                };
        };
 };
@@ -54,8 +56,7 @@
                #address-cells = <1>;
                #size-cells = <1>;
                compatible = "jedec,spi-nor";
-               reg = <0 0>;
-               linux,modalias = "m25p80", "en25q64";
+               reg = <0>;
                spi-max-frequency = <10000000>;
 
                partition@0 {