[openwrt/openwrt] ramips: decrease SPI frequency for Phicomm K2P

LEDE Commits lede-commits at lists.infradead.org
Mon Jun 13 00:26:56 PDT 2022


981213 pushed a commit to openwrt/openwrt.git, branch master:
https://git.openwrt.org/857ea3f690aba8513b356926d9c430adafc7c50b

commit 857ea3f690aba8513b356926d9c430adafc7c50b
Author: Aviana Cruz <gwencroft at proton.me>
AuthorDate: Sun Jun 12 01:34:13 2022 +0800

    ramips: decrease SPI frequency for Phicomm K2P
    
    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 at proton.me>
    Signed-off-by: Chuanhong Guo <gch981213 at gmail.com>
---
 target/linux/ramips/dts/mt7621_phicomm_k2p.dts | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/target/linux/ramips/dts/mt7621_phicomm_k2p.dts b/target/linux/ramips/dts/mt7621_phicomm_k2p.dts
index a0bdab2226..078b76a50b 100644
--- a/target/linux/ramips/dts/mt7621_phicomm_k2p.dts
+++ b/target/linux/ramips/dts/mt7621_phicomm_k2p.dts
@@ -50,8 +50,7 @@
 	flash at 0 {
 		compatible = "jedec,spi-nor";
 		reg = <0>;
-		spi-max-frequency = <80000000>;
-		m25p,fast-read;
+		spi-max-frequency = <50000000>;
 
 		partitions {
 			compatible = "fixed-partitions";




More information about the lede-commits mailing list