ath79: fix spi-max-frequency for wAP G-5HacT2HnD
authorRoger Pueyo Centelles <roger.pueyo@guifi.net>
Mon, 24 Feb 2020 20:07:59 +0000 (21:07 +0100)
committerAdrian Schmutzler <freifunk@adrianschmutzler.de>
Thu, 27 Feb 2020 11:14:09 +0000 (12:14 +0100)
The introduction of ebf0d8dade (ath79: add new ar934x spi driver)
made the SPI memory unusable. Reducing the spi-max-frequency to
a smaller value makes it work again.

Tested on two MikroTik RouterBOARD wAP G-5HacT2HnD devices.

Signed-off-by: Roger Pueyo Centelles <roger.pueyo@guifi.net>
target/linux/ath79/dts/qca9556_mikrotik_routerboard-wap-g-5hact2hnd.dts

index e13b58b600f93d70e1f0e8baafb4e3429df240d1..015bd2efe522589a973c69f8eb535a406c80504d 100644 (file)
@@ -73,7 +73,7 @@
        flash@0 {
                compatible = "jedec,spi-nor";
                reg = <0>;
-               spi-max-frequency = <104000000>;
+               spi-max-frequency = <50000000>;
 
                partitions {
                        compatible = "fixed-partitions";