ramips: decrease SPI frequency for Phicomm K2P
authorAviana Cruz <gwencroft@proton.me>
Sat, 11 Jun 2022 17:34:13 +0000 (01:34 +0800)
committerChuanhong Guo <gch981213@gmail.com>
Sun, 12 Jun 2022 14:15:25 +0000 (22:15 +0800)
Some K2P comes with the worse boards with GD25Q128 (may be A2), which
only works with 50MHz frequency and less. Reduce spi frequency so that
these routers can boot.
remove m25p,fast-read because it isn't needed for 50MHz SPI.

Signed-off-by: Aviana Cruz <gwencroft@proton.me>
Signed-off-by: Chuanhong Guo <gch981213@gmail.com>
target/linux/ramips/dts/mt7621_phicomm_k2p.dts

index a0bdab2226399e57b798ab9b35c30ed2b258c82f..078b76a50b4587ff0a1dad5e88b28eb6a2fc6296 100644 (file)
@@ -50,8 +50,7 @@
        flash@0 {
                compatible = "jedec,spi-nor";
                reg = <0>;
-               spi-max-frequency = <80000000>;
-               m25p,fast-read;
+               spi-max-frequency = <50000000>;
 
                partitions {
                        compatible = "fixed-partitions";