[OpenWrt-Devel] [PATCH 1/1] ramips: mt7621: use higher SPI clock speed on Mikrotik rbm11g and rbm33g

Tobias Schramm t.schramm at manjaro.org
Thu Apr 9 09:08:16 EDT 2020


Hi,

>> @@ -83,8 +83,8 @@
>>         w25q128 at 0 {
>>                 compatible = "jedec,spi-nor";
>>                 reg = <0>;
>> -               // XXX empiric value to obtain actual 10MHz SCK at the chip
>> -               spi-max-frequency = <3125000>;
>> +               m25p,fast-read;
>> +               spi-max-frequency = <33000000>;
> 
> m25p,fast-read isn't needed until spi frequency is higher than 50MHz
> and it affects performance a bit.
> It can be removed here and below.
> 

Ah, snap. Something in the back of my mind told me m25p,fast-read was
required from 25 MHz up. I'll send a v2 with it removed


Thanks,

Tobias

_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel



More information about the openwrt-devel mailing list