ramips: update DTS files to use jedec,spi-nor compatible string for m25p80 to fix...
[openwrt/staging/florian.git] / target / linux / ramips / dts / MT7628.dts
index 9542117e19353767109f44e503a4fba7788e8eb2..726e3b12d2da96dcffc842e6b32162f7849d58c0 100644 (file)
@@ -7,11 +7,17 @@
        model = "Mediatek MT7628AN evaluation board";
 
        memory@0 {
+               device_type = "memory";
                reg = <0x0 0x2000000>;
        };
 
-       chosen {
-               bootargs = "console=ttyS0,57600 init=/init";
+       pinctrl {
+               state_default: pinctrl0 {
+                       gpio {
+                               ralink,group = "i2c", "jtag";
+                               ralink,function = "gpio";
+                       };
+               };
        };
 
        palmbus@10000000 {
                        m25p80@0 {
                                #address-cells = <1>;
                                #size-cells = <1>;
-                               compatible = "en25q64";
+                               compatible = "jedec,spi-nor";
                                reg = <0 0>;
                                linux,modalias = "m25p80", "en25q64";
                                spi-max-frequency = <10000000>;
-                               m25p,chunked-io = <1>;
+                               m25p,chunked-io = <32>;
 
                                partition@0 {
                                        label = "u-boot";
@@ -52,8 +58,4 @@
                        };
                };
        };
-
-       pcie@10140000 {
-               status = "okay";
-       };
 };