From 1d49b59ca77c5dc0731e8e96400484568e3a35de Mon Sep 17 00:00:00 2001 From: Feng Zhang Date: Thu, 28 Sep 2023 11:38:18 +0800 Subject: [PATCH] rockchip: rk3399: Limit spi maximum rate Excessive speed rates may result in written data not matching the actual data. Signed-off-by: Feng Zhang --- arch/arm64/boot/dts/rockchip/overlays/rk3399-spi1-jedec-nor.dts | 2 +- arch/arm64/boot/dts/rockchip/overlays/rk3399-spi2-jedec-nor.dts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm64/boot/dts/rockchip/overlays/rk3399-spi1-jedec-nor.dts b/arch/arm64/boot/dts/rockchip/overlays/rk3399-spi1-jedec-nor.dts index d8147327..ad635057 100644 --- a/arch/arm64/boot/dts/rockchip/overlays/rk3399-spi1-jedec-nor.dts +++ b/arch/arm64/boot/dts/rockchip/overlays/rk3399-spi1-jedec-nor.dts @@ -22,7 +22,7 @@ spiflash@0 { compatible = "jedec,spi-nor"; reg = <0>; - spi-max-frequency = <10000000>; + spi-max-frequency = <8000000>; status = "okay"; }; }; diff --git a/arch/arm64/boot/dts/rockchip/overlays/rk3399-spi2-jedec-nor.dts b/arch/arm64/boot/dts/rockchip/overlays/rk3399-spi2-jedec-nor.dts index 2a41c33d..3433af6a 100644 --- a/arch/arm64/boot/dts/rockchip/overlays/rk3399-spi2-jedec-nor.dts +++ b/arch/arm64/boot/dts/rockchip/overlays/rk3399-spi2-jedec-nor.dts @@ -22,7 +22,7 @@ spiflash@0 { compatible = "jedec,spi-nor"; reg = <0>; - spi-max-frequency = <10000000>; + spi-max-frequency = <8000000>; status = "okay"; }; };