ramips: update DTS files to use jedec,spi-nor compatible string for m25p80 to fix...
[openwrt/staging/lynxis/omap.git] / target / linux / ramips / dts / FIREWRT.dts
index bfe145646126ac41eb9e3c3afbe09152ee515ba5..e7cfb1174408ac771228be2d2b5e0c51e94ab40e 100644 (file)
@@ -1,6 +1,6 @@
 /dts-v1/;
 
-/include/ "mt7621.dtsi"
+#include "mt7621.dtsi"
 
 / {
        compatible = "mediatek,mt7621-eval-board", "mediatek,mt7621-soc";
@@ -26,7 +26,7 @@
                        m25p80@0 {
                                #address-cells = <1>;
                                #size-cells = <1>;
-                               compatible = "w25q128";
+                               compatible = "jedec,spi-nor";
                                reg = <0 0>;
                                linux,modalias = "m25p80";
                                spi-max-frequency = <10000000>;
@@ -53,7 +53,6 @@
                                        label = "firmware";
                                        reg = <0x50000 0xfb0000>;
                                };
-
                        };
                };
        };
                #address-cells = <1>;
                #size-cells = <0>;
                poll-interval = <20>;
+
                wps {
                        label = "wps";
                        gpios = <&gpio0 18 1>;
                        linux,code = <0x211>;
                };
+
                power {
                        label = "power";
                        gpios = <&gpio0 23 1>;
 
        pinctrl {
                state_default: pinctrl0 {
-               gpio {
+                       gpio {
                                ralink,group = "wdt", "rgmii2";
                                ralink,function = "gpio";
                        };