ath79: increase SPI frequency for OCEDO boards
authorDavid Bauer <mail@david-bauer.net>
Tue, 6 Jul 2021 01:07:58 +0000 (03:07 +0200)
committerDavid Bauer <mail@david-bauer.net>
Wed, 7 Jul 2021 15:13:23 +0000 (17:13 +0200)
The MX25L12805D used on all ath79 OCEDO boards supports clock
speeds up to 50 MHz.

Thus, we can increase the maximum SPI frequency the flash chip is
controlled at to 50 MHz, increasing transfer speed.

Signed-off-by: David Bauer <mail@david-bauer.net>
target/linux/ath79/dts/ar9344_ocedo_raccoon.dts
target/linux/ath79/dts/qca9558_ocedo_koala.dts
target/linux/ath79/dts/qca9558_ocedo_ursus.dts

index e7ef02054eef92cd4b67afa8972ca25c60f718b8..cf02b711fa501d13143dedcb723f43d40f691e88 100644 (file)
@@ -72,7 +72,7 @@
        flash@0 {
                compatible = "jedec,spi-nor";
                reg = <0>;
-               spi-max-frequency = <25000000>;
+               spi-max-frequency = <50000000>;
 
                partitions {
                        compatible = "fixed-partitions";
index aa3876acb155b6d4b943fb0c6301ede3015facf9..fd54a6e8c21837f3559ce904da3fdc48f343f5e8 100644 (file)
@@ -69,7 +69,7 @@
        flash@0 {
                compatible = "jedec,spi-nor";
                reg = <0>;
-               spi-max-frequency = <25000000>;
+               spi-max-frequency = <50000000>;
 
                partitions {
                        compatible = "fixed-partitions";
index dc8329f976d72763b782b67286c4386707944179..05c2d2d1dca7e5caaba8f886a4103ccc84e2c9e9 100644 (file)
@@ -40,7 +40,7 @@
        flash@0 {
                compatible = "jedec,spi-nor";
                reg = <0>;
-               spi-max-frequency = <25000000>;
+               spi-max-frequency = <50000000>;
 
                partitions {
                        compatible = "fixed-partitions";