]> git.ipfire.org Git - thirdparty/u-boot.git/commitdiff
arm: dts: mediatek: add quad mode capabilities for SPI flashes
authorWeijie Gao <weijie.gao@mediatek.com>
Fri, 17 Jan 2025 09:18:01 +0000 (17:18 +0800)
committerTom Rini <trini@konsulko.com>
Thu, 23 Jan 2025 18:11:49 +0000 (12:11 -0600)
Explicitly add quad mode capabilities or the SPI controller may
start transfer in single mode.

Signed-off-by: SkyLake.Huang <skylake.huang@mediatek.com>
Signed-off-by: Weijie Gao <weijie.gao@mediatek.com>
arch/arm/dts/mt7981-rfb.dts
arch/arm/dts/mt7986a-rfb.dts
arch/arm/dts/mt7986b-rfb.dts
arch/arm/dts/mt7988-rfb.dts

index 22a022acb62c6dc20cbf3dc97fe7f9397af27c71..9b613730efa528a927f390e7ebff4fc4ba0df312 100644 (file)
                compatible = "spi-nand";
                reg = <0>;
                spi-max-frequency = <52000000>;
+               spi-rx-bus-width = <4>;
+               spi-tx-bus-width = <4>;
        };
 };
 
                compatible = "jedec,spi-nor";
                reg = <0>;
                spi-max-frequency = <52000000>;
+               spi-rx-bus-width = <4>;
+               spi-tx-bus-width = <4>;
        };
 };
 
index e5c9be7da82ffd530c9777041a52ce50b5b962ba..67d14a99dae5d98619d7678dfa6a1a64e2201204 100644 (file)
                compatible = "jedec,spi-nor";
                reg = <0>;
                spi-max-frequency = <52000000>;
+               spi-rx-bus-width = <4>;
+               spi-tx-bus-width = <4>;
        };
 
        spi_nand@1 {
                compatible = "spi-nand";
                reg = <1>;
                spi-max-frequency = <52000000>;
+               spi-rx-bus-width = <4>;
+               spi-tx-bus-width = <4>;
        };
 };
 
index 8196845a123d9e60c69136aae25188ceaeb5c18c..f98b04ab140dfa3350481ee785ee29b49a71914d 100644 (file)
                compatible = "jedec,spi-nor";
                reg = <0>;
                spi-max-frequency = <52000000>;
+               spi-rx-bus-width = <4>;
+               spi-tx-bus-width = <4>;
        };
 
        spi_nand@1 {
                compatible = "spi-nand";
                reg = <1>;
                spi-max-frequency = <52000000>;
+               spi-rx-bus-width = <4>;
+               spi-tx-bus-width = <4>;
        };
 };
 
index 2c11428430912ead41a2936640da0721d7618507..71a58a26f6cf35a34d061bc2ce0ee162771a9a8c 100644 (file)
                compatible = "spi-nand";
                reg = <0>;
                spi-max-frequency = <52000000>;
+               spi-rx-bus-width = <4>;
+               spi-tx-bus-width = <4>;
        };
 };
 
                compatible = "jedec,spi-nor";
                reg = <0>;
                spi-max-frequency = <52000000>;
+               spi-rx-bus-width = <4>;
+               spi-tx-bus-width = <4>;
        };
 };