37 lines
1012 B
Diff
37 lines
1012 B
Diff
|
From 12244ff7bc6e3bc619c746c5d19a398bc7de800e Mon Sep 17 00:00:00 2001
|
||
|
From: Ondrej Jirman <megi@xff.cz>
|
||
|
Date: Thu, 29 Jun 2023 16:28:08 +0200
|
||
|
Subject: [PATCH 302/464] arm64: dts: rk3399-pinephone-pro: Improve SPI access
|
||
|
speed
|
||
|
|
||
|
From 300 KiB/s to 2MiB/s.
|
||
|
|
||
|
Signed-off-by: Ondrej Jirman <megi@xff.cz>
|
||
|
---
|
||
|
arch/arm64/boot/dts/rockchip/rk3399-pinephone-pro.dts | 5 ++++-
|
||
|
1 file changed, 4 insertions(+), 1 deletion(-)
|
||
|
|
||
|
diff --git a/arch/arm64/boot/dts/rockchip/rk3399-pinephone-pro.dts b/arch/arm64/boot/dts/rockchip/rk3399-pinephone-pro.dts
|
||
|
index ec57cc6823da..a63a99b07b09 100644
|
||
|
--- a/arch/arm64/boot/dts/rockchip/rk3399-pinephone-pro.dts
|
||
|
+++ b/arch/arm64/boot/dts/rockchip/rk3399-pinephone-pro.dts
|
||
|
@@ -1482,11 +1482,14 @@ &sdhci {
|
||
|
|
||
|
&spi1 {
|
||
|
status = "okay";
|
||
|
+ assigned-clocks = <&cru SCLK_SPI1>;
|
||
|
+ assigned-clock-rates = <100000000>;
|
||
|
|
||
|
flash@0 {
|
||
|
compatible = "jedec,spi-nor";
|
||
|
reg = <0>;
|
||
|
- spi-max-frequency = <10000000>;
|
||
|
+ spi-max-frequency = <50000000>;
|
||
|
+ m25p,fast-read;
|
||
|
};
|
||
|
};
|
||
|
|
||
|
--
|
||
|
2.34.1
|
||
|
|