ramips: cleanup SPI flash device tree properties usage
[openwrt/openwrt.git] / target / linux / ramips / dts / ZBT-WA05.dts
index bdf301f93093ffa0c34cf3fd16c4463dc5d970ae..33538892c3bd60584851dc46b03e162eef4be871 100644 (file)
@@ -2,6 +2,8 @@
 
 #include "mt7620n.dtsi"
 
+#include <dt-bindings/input/input.h>
+
 / {
        compatible = "zbtlink,zbt-wa05", "ralink,mt7620n-soc";
        model = "Zbtlink ZBT-WA05";
@@ -38,7 +40,7 @@
                reset {
                        label = "reset";
                        gpios = <&gpio0 1 1>;
-                       linux,code = <0x198>;
+                       linux,code = <KEY_RESTART>;
                };
        };
 };
@@ -62,8 +64,7 @@
                #address-cells = <1>;
                #size-cells = <1>;
                compatible = "jedec,spi-nor";
-               reg = <0 0>;
-               linux,modalias = "m25p80";
+               reg = <0>;
                spi-max-frequency = <10000000>;
 
                partition@0 {