[PATCH v2] ipq40xx: increase SPI frequency for Zyxel NBG6617

Dmitry Tunin hanipouspilot at gmail.com
Sun Jul 11 00:52:41 PDT 2021


The chip installed in my device is mx25l25635e. But it shouldn't matter.

пт, 9 июл. 2021 г. в 13:33, Dmitry Tunin <hanipouspilot at gmail.com>:
>
> The mx25l25635e supports clock speed up to 50Mhz.
>
> Also remove obsolete "mx25l25635f" hack.
>
> Signed-off-by: Dmitry Tunin <hanipouspilot at gmail.com>
> ---
>  .../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;
>
> --
> 2.25.1
>



More information about the openwrt-devel mailing list