Skip to contentSkip to conversation

ARM: dts: dra7xx: Increase spi-max-frequency to 76.8MHz for QSPI

PATCH In review Vignesh R 2 participants 2 messages Aug 1, 2016 – Aug 26, 2016 Device tree bindings

lore
Share & tools
lore

Vignesh R

author
#0 lore raw

PATCH 1/1 ARM: dts: dra7xx: Increase spi-max-frequency to 76.8MHz for QSPI

According to AM572x DM SPRS953A, QSPI maximum bus speed can be 76.8MHz. Therefore, increase the spi-max-frequency value of QSPI node to 76.8MHz for DRA74 and DRA72 evm. This improves flash raw read speed by ~2MB/s.

---
 arch/arm/boot/dts/dra7-evm.dts          | 4 ++--
 arch/arm/boot/dts/dra72-evm-common.dtsi | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)
arch/arm/boot/dts/dra7-evm.dts +2 -2
index bafcfac067ec..f9d1170033fd 100644
@@ -664,10 +664,10 @@
 &qspi {
 	status = "okay";
 
-	spi-max-frequency = <64000000>;
+	spi-max-frequency = <76800000>;
 	m25p80 at 0 {
 		compatible = "s25fl256s1";
-		spi-max-frequency = <64000000>;
+		spi-max-frequency = <76800000>;
 		reg = <0>;
 		spi-tx-bus-width = <1>;
 		spi-rx-bus-width = <4>;
arch/arm/boot/dts/dra72-evm-common.dtsi +2 -2
index 9d3cf50ca37e..c94d8d64710d 100644
@@ -681,10 +681,10 @@
 &qspi {
 	status = "okay";
 
-	spi-max-frequency = <64000000>;
+	spi-max-frequency = <76800000>;
 	m25p80 at 0 {
 		compatible = "s25fl256s1";
-		spi-max-frequency = <64000000>;
+		spi-max-frequency = <76800000>;
 		reg = <0>;
 		spi-tx-bus-width = <1>;
 		spi-rx-bus-width = <4>;
Signature · 1 line
2.9.2
#1 lore raw
Quoted 3 lines · Vignesh R

According to AM572x DM SPRS953A, QSPI maximum bus speed can be 76.8MHz. Therefore, increase the spi-max-frequency value of QSPI node to 76.8MHz for DRA74 and DRA72 evm. This improves flash raw read speed by ~2MB/s.

Applying into omap-for-v4.9/dt thanks.

Tony