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

Christian Lamparter chunkeey at gmail.com
Fri Jul 9 03:16:37 PDT 2021


On 09/07/2021 11:15, Dmitry Tunin wrote:
> Also remove obsolete "mx25l25635f" hack.

Looks like the subject contains part of the commit message?!
Please try to keep that subject line short enough (like 50-60
letters) so it doesn't wrap on git.openwrt.org / github view.

(while at it please also change the node-name mx25l...@ to flash@)

Thanks
Christian
> 
> 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;
>   
> 




More information about the openwrt-devel mailing list