ath79: dts: fix ja76pf2 spi frequency
authorTomasz Maciej Nowak <tomek_n@o2.pl>
Fri, 23 Aug 2019 13:50:46 +0000 (15:50 +0200)
committerChristian Lamparter <chunkeey@gmail.com>
Sat, 31 Aug 2019 22:12:02 +0000 (00:12 +0200)
The frequency was filled acording the information from datasheet for
particular chip (Winbond 25Q128BVFG). Unfortunately this led to
coruption and introduced bad blocks on the chip. Reducing the frequency
to commonly used in ath79, made the board more stable and no new bad
blocks were spoted.

Fixes: b3a0c97 ("ath79: add support for jjPlus JA76PF2")
Signed-off-by: Tomasz Maciej Nowak <tomek_n@o2.pl>
target/linux/ath79/dts/ar7161_jjplus_ja76pf2.dts

index 76f140fa5576e3082b7e3f8b6fe667972726f47a..b983d1b994061bd59dca58424865c9920edf2d67 100644 (file)
        flash@0 {
                compatible = "jedec,spi-nor";
                reg = <0>;
-               spi-max-frequency = <104000000>;
+               spi-max-frequency = <25000000>;
 
                partitions {
                        #address-cells = <1>;