ramips: cleanup SPI flash device tree properties usage
[openwrt/staging/yousong.git] / target / linux / ramips / dts / WL-330N3G.dts
index d79a7577a43eaf874ca125569ce55b99877758fd..948d37dc9898af35367b1c1ef7f718034a53d557 100644 (file)
@@ -2,6 +2,8 @@
 
 #include "rt3050.dtsi"
 
+#include <dt-bindings/input/input.h>
+
 / {
        compatible = "WL-330N3G", "ralink,rt3050-soc";
        model = "Asus WL-330N3G";
                reset {
                        label = "reset";
                        gpios = <&gpio0 10 1>;
-                       linux,code = <0x198>;
+                       linux,code = <KEY_RESTART>;
                };
 
                wps {
                        label = "wps";
                        gpios = <&gpio0 0 1>;
-                       linux,code = <0x198>;
+                       linux,code = <KEY_RESTART>;
                };
        };
 };
@@ -52,8 +54,7 @@
                #address-cells = <1>;
                #size-cells = <1>;
                compatible = "jedec,spi-nor";
-               reg = <0 0>;
-               linux,modalias = "m25p80", "mx25l3205d";
+               reg = <0>;
                spi-max-frequency = <10000000>;
 
                partition@0 {