ramips: unielec-u7621-01: Increase SPI frequency to 50MHz
authorDavid Bentham <db260179@gmail.com>
Mon, 25 Dec 2023 11:51:16 +0000 (11:51 +0000)
committerHauke Mehrtens <hauke@hauke-m.de>
Tue, 2 Jan 2024 23:21:09 +0000 (00:21 +0100)
Flash: 16MB SPI NOR flash (Macronix MX25L12805D)

Based on the manufactured datasheet this chip is capable of 50MHz.

We dont enable fast-read as mt7621 are only capable of 44mhz in a read state.

Tested on this unit without any issues.

Signed-off-by: David Bentham <db260179@gmail.com>
target/linux/ramips/dts/mt7621_unielec_u7621-01-16m.dts

index c933e443c12e6bf0fad9b068dd78e34a34eed202..d6189f3d58a99d07b311ee3b231008b314071a8e 100644 (file)
@@ -13,7 +13,7 @@
        flash@0 {
                compatible = "jedec,spi-nor";
                reg = <0>;
-               spi-max-frequency = <14000000>;
+               spi-max-frequency = <50000000>;
 
                partitions {
                        compatible = "fixed-partitions";