ipq40xx: increase SPI frequency for Zyxel NBG6617
authorDmitry Tunin <hanipouspilot@gmail.com>
Fri, 9 Jul 2021 10:33:15 +0000 (13:33 +0300)
committerChristian Lamparter <chunkeey@gmail.com>
Sat, 10 Jul 2021 23:38:52 +0000 (01:38 +0200)
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@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@gmail.com>
target/linux/ipq40xx/files/arch/arm/boot/dts/qcom-ipq4018-nbg6617.dts

index 4d17325c8de0735665734e4bb3266292e43abba8..caafc1beb44d58b560357faed327f0e806c0c96c 100644 (file)
        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;