patches/board/pinebook-pro: cap spi1 to 10 MHz for NOR flash stability
This commit is contained in:
+28
@@ -0,0 +1,28 @@
|
||||
From: Markus Fritsche <mfritsche@reauktion.de>
|
||||
Subject: [PATCH] arm64: dts: rockchip: rk3399-pinebook-pro: cap spi1 to 10 MHz
|
||||
|
||||
The on-board SPI flash on the Pinebook Pro is reachable via spi1; setting
|
||||
spi-max-frequency below the controller's nominal max keeps the bus stable
|
||||
across the variants of NOR flash shipped with the laptop. 10 MHz is the
|
||||
community-validated upper bound that all observed parts handle without
|
||||
read-back errors during routine boot probes.
|
||||
|
||||
scope: board/pinebook-pro
|
||||
fleet: fresnel
|
||||
|
||||
Signed-off-by: Markus Fritsche <mfritsche@reauktion.de>
|
||||
---
|
||||
arch/arm64/boot/dts/rockchip/rk3399-pinebook-pro.dts | 1 +
|
||||
1 file changed, 1 insertion(+)
|
||||
|
||||
diff --git a/arch/arm64/boot/dts/rockchip/rk3399-pinebook-pro.dts b/arch/arm64/boot/dts/rockchip/rk3399-pinebook-pro.dts
|
||||
--- a/arch/arm64/boot/dts/rockchip/rk3399-pinebook-pro.dts
|
||||
+++ b/arch/arm64/boot/dts/rockchip/rk3399-pinebook-pro.dts
|
||||
@@ -947,6 +1029,7 @@
|
||||
};
|
||||
|
||||
&spi1 {
|
||||
+ max-freq = <10000000>;
|
||||
status = "okay";
|
||||
|
||||
spiflash: flash@0 {
|
||||
Reference in New Issue
Block a user