[openwrt/openwrt] ath79: increase SPI frequency for OCEDO boards

LEDE Commits lede-commits at lists.infradead.org
Wed Jul 7 08:13:02 PDT 2021


blocktrron pushed a commit to openwrt/openwrt.git, branch master:
https://git.openwrt.org/5b58545f4470989b0e2243df5007e5fb29a85d21

commit 5b58545f4470989b0e2243df5007e5fb29a85d21
Author: David Bauer <mail at david-bauer.net>
AuthorDate: Tue Jul 6 03:07:58 2021 +0200

    ath79: increase SPI frequency for OCEDO boards
    
    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 at david-bauer.net>
---
 target/linux/ath79/dts/ar9344_ocedo_raccoon.dts | 2 +-
 target/linux/ath79/dts/qca9558_ocedo_koala.dts  | 2 +-
 target/linux/ath79/dts/qca9558_ocedo_ursus.dts  | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/target/linux/ath79/dts/ar9344_ocedo_raccoon.dts b/target/linux/ath79/dts/ar9344_ocedo_raccoon.dts
index e7ef02054e..cf02b711fa 100644
--- a/target/linux/ath79/dts/ar9344_ocedo_raccoon.dts
+++ b/target/linux/ath79/dts/ar9344_ocedo_raccoon.dts
@@ -72,7 +72,7 @@
 	flash at 0 {
 		compatible = "jedec,spi-nor";
 		reg = <0>;
-		spi-max-frequency = <25000000>;
+		spi-max-frequency = <50000000>;
 
 		partitions {
 			compatible = "fixed-partitions";
diff --git a/target/linux/ath79/dts/qca9558_ocedo_koala.dts b/target/linux/ath79/dts/qca9558_ocedo_koala.dts
index aa3876acb1..fd54a6e8c2 100644
--- a/target/linux/ath79/dts/qca9558_ocedo_koala.dts
+++ b/target/linux/ath79/dts/qca9558_ocedo_koala.dts
@@ -69,7 +69,7 @@
 	flash at 0 {
 		compatible = "jedec,spi-nor";
 		reg = <0>;
-		spi-max-frequency = <25000000>;
+		spi-max-frequency = <50000000>;
 
 		partitions {
 			compatible = "fixed-partitions";
diff --git a/target/linux/ath79/dts/qca9558_ocedo_ursus.dts b/target/linux/ath79/dts/qca9558_ocedo_ursus.dts
index dc8329f976..05c2d2d1dc 100644
--- a/target/linux/ath79/dts/qca9558_ocedo_ursus.dts
+++ b/target/linux/ath79/dts/qca9558_ocedo_ursus.dts
@@ -40,7 +40,7 @@
 	flash at 0 {
 		compatible = "jedec,spi-nor";
 		reg = <0>;
-		spi-max-frequency = <25000000>;
+		spi-max-frequency = <50000000>;
 
 		partitions {
 			compatible = "fixed-partitions";



More information about the lede-commits mailing list