From c36e47c5dad038cdfa0ded1608638ddeb8ce1f32 Mon Sep 17 00:00:00 2001 From: Shiji Yang Date: Sun, 21 Mar 2021 17:51:00 +0800 Subject: ramips: increase SPI frequency for Phicomm series devices From many teardown image in the internet, I find Phicomm K1/k2 series use Winbond W25Q64/W25Q128 or GigaDevice GD25Q64/GD25Q128 Flash chips. both of them support 100+ MHz clock spi operate and fast-read instruction. PSG1218 with W25x or GD25x has been tested and it can run well in OpenWrt v19.07. Signed-off-by: Shiji Yang [improve commit title] Signed-off-by: Adrian Schmutzler --- target/linux/ramips/dts/mt7620a_phicomm_k2g.dts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'target/linux/ramips/dts/mt7620a_phicomm_k2g.dts') diff --git a/target/linux/ramips/dts/mt7620a_phicomm_k2g.dts b/target/linux/ramips/dts/mt7620a_phicomm_k2g.dts index 85d43468aa..2684da6ac3 100644 --- a/target/linux/ramips/dts/mt7620a_phicomm_k2g.dts +++ b/target/linux/ramips/dts/mt7620a_phicomm_k2g.dts @@ -50,7 +50,8 @@ flash@0 { compatible = "jedec,spi-nor"; reg = <0>; - spi-max-frequency = <24000000>; + spi-max-frequency = <80000000>; + m25p,fast-read; partitions { compatible = "fixed-partitions"; -- cgit v1.2.3