From: Dmitry Tunin Date: Fri, 9 Jul 2021 10:33:15 +0000 (+0300) Subject: ipq40xx: increase SPI frequency for Zyxel NBG6617 X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=88f39b72da6ceb5f2f87692369dc41e9c9cced12;p=openwrt%2Fstaging%2Frmilecki.git 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 [mention node rename as well. chip is very very likely always the "f" revision for all NBG6617] Signed-off-by: Christian Lamparter --- 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 4d17325c8de..caafc1beb44 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@0 { - compatible = "mx25l25635f", "jedec,spi-nor"; + flash@0 { + compatible = "jedec,spi-nor"; reg = <0>; - spi-max-frequency = <24000000>; + spi-max-frequency = <50000000>; status = "okay"; m25p,fast-read;