[openwrt/openwrt] ipq40xx: increase SPI frequency for Zyxel NBG6617

LEDE Commits lede-commits at lists.infradead.org
Sat Jul 10 16:39:27 PDT 2021


chunkeey pushed a commit to openwrt/openwrt.git, branch master:
https://git.openwrt.org/88f39b72da6ceb5f2f87692369dc41e9c9cced12

commit 88f39b72da6ceb5f2f87692369dc41e9c9cced12
Author: Dmitry Tunin <hanipouspilot at gmail.com>
AuthorDate: Fri Jul 9 13:33:15 2021 +0300

    ipq40xx: increase SPI frequency for Zyxel NBG6617
    
    The mx25l25635f supports clock speed up to 50Mhz.
    
    Also remove obsolete "mx25l25635f" hack and rename
    the matching device-tree flash node.
    
    Signed-off-by: Dmitry Tunin <hanipouspilot at gmail.com>
    [mention node rename as well. chip is very very likely
    always the "f" revision for all NBG6617]
    Signed-off-by: Christian Lamparter <chunkeey at gmail.com>
---
 .../linux/ipq40xx/files/arch/arm/boot/dts/qcom-ipq4018-nbg6617.dts  | 6 +++---
 1 file changed, 3 insertions(+), 3 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..caafc1beb4 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
@@ -210,10 +210,10 @@
 	status = "okay";
 	cs-gpios = <&tlmm 54 GPIO_ACTIVE_HIGH>;
 
-	mx25l25635f at 0 {
-		compatible = "mx25l25635f", "jedec,spi-nor";
+	flash at 0 {
+		compatible = "jedec,spi-nor";
 		reg = <0>;
-		spi-max-frequency = <24000000>;
+		spi-max-frequency = <50000000>;
 		status = "okay";
 		m25p,fast-read;
 



More information about the lede-commits mailing list