[PATCH] ipq40xx: increase SPI frequency for Zyxel NBG6617 The mx25l25635e supports clock speed up to 50Mhz.

Dmitry Tunin hanipouspilot at gmail.com
Fri Jul 9 02:15:11 PDT 2021


Also remove obsolete "mx25l25635f" hack.

Signed-off-by: Dmitry Tunin <hanipouspilot at gmail.com>
---
 .../ipq40xx/files/arch/arm/boot/dts/qcom-ipq4018-nbg6617.dts  | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/target/linux/ipq40xx/files/arch/arm/boot/dts/qcom-ipq4018-nbg6617.dts b/target/linux/ipq40xx/files/arch/arm/boot/dts/qcom-ipq4018-nbg6617.dts
index 4d17325c8d..28a299218b 100644
--- a/target/linux/ipq40xx/files/arch/arm/boot/dts/qcom-ipq4018-nbg6617.dts
+++ b/target/linux/ipq40xx/files/arch/arm/boot/dts/qcom-ipq4018-nbg6617.dts
@@ -211,9 +211,9 @@
 	cs-gpios = <&tlmm 54 GPIO_ACTIVE_HIGH>;
 
 	mx25l25635f at 0 {
-		compatible = "mx25l25635f", "jedec,spi-nor";
+		compatible = "jedec,spi-nor";
 		reg = <0>;
-		spi-max-frequency = <24000000>;
+		spi-max-frequency = <50000000>;
 		status = "okay";
 		m25p,fast-read;
 
-- 
2.25.1




More information about the openwrt-devel mailing list