ipq40xx: increase EX6150v2 SPI frequency
authorDavid Bauer <mail@david-bauer.net>
Sat, 14 Aug 2021 00:20:40 +0000 (02:20 +0200)
committerDavid Bauer <mail@david-bauer.net>
Sat, 14 Aug 2021 12:47:34 +0000 (14:47 +0200)
The chip supports clock speeds up to 50 MHz, however it won't even read
the chip-id correctly at this frequency.

45 MHz however works reliable.

Signed-off-by: David Bauer <mail@david-bauer.net>
target/linux/ipq40xx/files/arch/arm/boot/dts/qcom-ipq4018-ex61x0v2.dtsi

index c026f70d05039773703271c6004988fe769ad438..dbf9a02a2940689cf463006ea7788827843eca89 100644 (file)
        mx25l12805d@0 {
                compatible = "jedec,spi-nor";
                reg = <0>;
-               spi-max-frequency = <24000000>;
+               spi-max-frequency = <45000000>;
 
                partitions {
                        compatible = "fixed-partitions";