ramips: cleanup SPI flash device tree properties usage
[openwrt/staging/yousong.git] / target / linux / ramips / dts / CF-WR800N.dts
index d076e6432d0ed66a289c31e836abb95b9fb237f3..9fcab024626f2ad7ebaf6077bf3368d139f8ba8f 100644 (file)
@@ -2,6 +2,8 @@
 
 #include "mt7620n.dtsi"
 
+#include <dt-bindings/input/input.h>
+
 / {
        compatible = "cf-wr800n", "ralink,mt7620n-soc";
        model = "Comfast CF-WR800N";
@@ -38,7 +40,7 @@
                reset {
                        label = "reset";
                        gpios = <&gpio0 2 1>;
-                       linux,code = <0x198>;
+                       linux,code = <KEY_RESTART>;
                };
        };
 };
@@ -66,8 +68,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 {