ipq40xx: dts: reduce the maximum SPI clock frequency to 24MHz

The IPQ4019 datasheet indicates that the maximum supported SPI
frequency is 25 MHz. My experiment on SKSpruce WIA3300-20 shows
that exceeding this threshold can lead to instability of SPI
peripheral. Limit the SPI clock frequency to the QSDK recommended
value 24MHz to enhance stability.

Signed-off-by: Shiji Yang <yangshiji66@outlook.com>
Link: https://github.com/openwrt/openwrt/pull/19744
Signed-off-by: Robert Marko <robimarko@gmail.com>
This commit is contained in:
Shiji Yang 2025-08-11 18:52:30 +08:00 committed by Robert Marko
parent d72157f4e3
commit 3ff8a3dca8
10 changed files with 12 additions and 12 deletions

View file

@ -160,7 +160,7 @@
flash@0 {
reg = <0>;
compatible = "jedec,spi-nor";
spi-max-frequency = <40000000>;
spi-max-frequency = <24000000>;
partitions {
compatible = "fixed-partitions";

View file

@ -150,7 +150,7 @@
#size-cells = <0>;
compatible = "jedec,spi-nor";
reg = <0>;
spi-max-frequency = <50000000>;
spi-max-frequency = <24000000>;
m25p,fast-read;
partitions {

View file

@ -190,7 +190,7 @@
mx25l12805d@0 {
compatible = "jedec,spi-nor";
reg = <0>;
spi-max-frequency = <45000000>;
spi-max-frequency = <24000000>;
partitions {
compatible = "fixed-partitions";

View file

@ -155,7 +155,7 @@
flash@0 {
reg = <0>;
compatible = "jedec,spi-nor";
spi-max-frequency = <40000000>;
spi-max-frequency = <24000000>;
partitions {
compatible = "fixed-partitions";

View file

@ -170,7 +170,7 @@
flash@0 {
compatible = "jedec,spi-nor";
reg = <0>;
spi-max-frequency = <50000000>;
spi-max-frequency = <24000000>;
status = "okay";
m25p,fast-read;

View file

@ -182,7 +182,7 @@
compatible = "jedec,spi-nor";
reg = <0>;
linux,modalias = "m25p80", "mx25l1606e", "n25q128a11";
spi-max-frequency = <30000000>;
spi-max-frequency = <24000000>;
partitions {
compatible = "fixed-partitions";
@ -236,7 +236,7 @@
spi-nand@1 {
compatible = "spi-nand";
reg = <1>;
spi-max-frequency = <30000000>;
spi-max-frequency = <24000000>;
/*
* U-boot looks for "spinand,mt29f" node,

View file

@ -159,7 +159,7 @@
flash@0 {
reg = <0>;
compatible = "jedec,spi-nor";
spi-max-frequency = <40000000>;
spi-max-frequency = <24000000>;
partitions {
compatible = "fixed-partitions";

View file

@ -206,7 +206,7 @@
flash@0 {
compatible = "jedec,spi-nor";
spi-max-frequency = <50000000>;
spi-max-frequency = <24000000>;
reg = <0>;
partitions {
@ -298,7 +298,7 @@
nand@1 {
compatible = "spi-nand";
reg = <1>;
spi-max-frequency = <48000000>;
spi-max-frequency = <24000000>;
partitions {
compatible = "fixed-partitions";

View file

@ -123,7 +123,7 @@
flash@0 {
reg = <0>;
compatible = "jedec,spi-nor";
spi-max-frequency = <40000000>;
spi-max-frequency = <24000000>;
partitions {
compatible = "fixed-partitions";

View file

@ -226,7 +226,7 @@
flash@0 {
reg = <0>;
compatible = "jedec,spi-nor";
spi-max-frequency = <40000000>;
spi-max-frequency = <24000000>;
partitions {
compatible = "fixed-partitions";