public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] [PATCH] ARM: dts: dra7x: Support QSPI MODE-0 operation at 64MHz
@ 2016-05-20 10:41 Vignesh R
  2016-05-20 13:02 ` Tom Rini
  0 siblings, 1 reply; 4+ messages in thread
From: Vignesh R @ 2016-05-20 10:41 UTC (permalink / raw)
  To: u-boot

According to Data Manual(SPRS915P) of AM57x, TI QSPI controller on
DRA74(rev 1.1+)/DRA72 EVM can support up to 64MHz in MODE-0, whereas
MODE-3 is limited to 48MHz. Hence, switch to MODE-0 for better
throughput.

Signed-off-by: Vignesh R <vigneshr@ti.com>
---
 arch/arm/dts/dra7-evm.dts  | 6 ++----
 arch/arm/dts/dra72-evm.dts | 6 ++----
 2 files changed, 4 insertions(+), 8 deletions(-)

diff --git a/arch/arm/dts/dra7-evm.dts b/arch/arm/dts/dra7-evm.dts
index 08ef04e177b0..429b9edc1b2b 100644
--- a/arch/arm/dts/dra7-evm.dts
+++ b/arch/arm/dts/dra7-evm.dts
@@ -491,15 +491,13 @@
 	pinctrl-names = "default";
 	pinctrl-0 = <&qspi1_pins>;
 
-	spi-max-frequency = <48000000>;
+	spi-max-frequency = <64000000>;
 	m25p80 at 0 {
 		compatible = "s25fl256s1","spi-flash";
-		spi-max-frequency = <48000000>;
+		spi-max-frequency = <64000000>;
 		reg = <0>;
 		spi-tx-bus-width = <1>;
 		spi-rx-bus-width = <4>;
-		spi-cpol;
-		spi-cpha;
 		#address-cells = <1>;
 		#size-cells = <1>;
 
diff --git a/arch/arm/dts/dra72-evm.dts b/arch/arm/dts/dra72-evm.dts
index 205103e2b0e1..ced2f1166d8c 100644
--- a/arch/arm/dts/dra72-evm.dts
+++ b/arch/arm/dts/dra72-evm.dts
@@ -603,15 +603,13 @@
 	pinctrl-names = "default";
 	pinctrl-0 = <&qspi1_pins>;
 
-	spi-max-frequency = <48000000>;
+	spi-max-frequency = <64000000>;
 	m25p80 at 0 {
 		compatible = "s25fl256s1","spi-flash";
-		spi-max-frequency = <48000000>;
+		spi-max-frequency = <64000000>;
 		reg = <0>;
 		spi-tx-bus-width = <1>;
 		spi-rx-bus-width = <4>;
-		spi-cpol;
-		spi-cpha;
 		#address-cells = <1>;
 		#size-cells = <1>;
 
-- 
2.8.3

^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [U-Boot] [PATCH] ARM: dts: dra7x: Support QSPI MODE-0 operation at 64MHz
  2016-05-20 10:41 [U-Boot] [PATCH] ARM: dts: dra7x: Support QSPI MODE-0 operation at 64MHz Vignesh R
@ 2016-05-20 13:02 ` Tom Rini
  2016-05-25  7:48   ` Vignesh R
  0 siblings, 1 reply; 4+ messages in thread
From: Tom Rini @ 2016-05-20 13:02 UTC (permalink / raw)
  To: u-boot

On Fri, May 20, 2016 at 04:11:22PM +0530, Vignesh R wrote:

> According to Data Manual(SPRS915P) of AM57x, TI QSPI controller on
> DRA74(rev 1.1+)/DRA72 EVM can support up to 64MHz in MODE-0, whereas
> MODE-3 is limited to 48MHz. Hence, switch to MODE-0 for better
> throughput.
> 
> Signed-off-by: Vignesh R <vigneshr@ti.com>

Are older revs seen in the wild or just within TI?  Thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20160520/38ebddbe/attachment.sig>

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [U-Boot] [PATCH] ARM: dts: dra7x: Support QSPI MODE-0 operation at 64MHz
  2016-05-20 13:02 ` Tom Rini
@ 2016-05-25  7:48   ` Vignesh R
  2016-05-26 15:49     ` Tom Rini
  0 siblings, 1 reply; 4+ messages in thread
From: Vignesh R @ 2016-05-25  7:48 UTC (permalink / raw)
  To: u-boot



On 05/20/2016 06:32 PM, Tom Rini wrote:
> On Fri, May 20, 2016 at 04:11:22PM +0530, Vignesh R wrote:
> 
>> According to Data Manual(SPRS915P) of AM57x, TI QSPI controller on
>> DRA74(rev 1.1+)/DRA72 EVM can support up to 64MHz in MODE-0, whereas
>> MODE-3 is limited to 48MHz. Hence, switch to MODE-0 for better
>> throughput.
>>
>> Signed-off-by: Vignesh R <vigneshr@ti.com>
> 
> Are older revs seen in the wild or just within TI?  Thanks!


QSPI was never supported on rev 1.0 due to erratas, moreover rev 1.0s
are not production version.


-- 
Regards
Vignesh

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [U-Boot] [PATCH] ARM: dts: dra7x: Support QSPI MODE-0 operation at 64MHz
  2016-05-25  7:48   ` Vignesh R
@ 2016-05-26 15:49     ` Tom Rini
  0 siblings, 0 replies; 4+ messages in thread
From: Tom Rini @ 2016-05-26 15:49 UTC (permalink / raw)
  To: u-boot

On Wed, May 25, 2016 at 01:18:43PM +0530, Vignesh R wrote:
> 
> 
> On 05/20/2016 06:32 PM, Tom Rini wrote:
> > On Fri, May 20, 2016 at 04:11:22PM +0530, Vignesh R wrote:
> > 
> >> According to Data Manual(SPRS915P) of AM57x, TI QSPI controller on
> >> DRA74(rev 1.1+)/DRA72 EVM can support up to 64MHz in MODE-0, whereas
> >> MODE-3 is limited to 48MHz. Hence, switch to MODE-0 for better
> >> throughput.
> >>
> >> Signed-off-by: Vignesh R <vigneshr@ti.com>
> > 
> > Are older revs seen in the wild or just within TI?  Thanks!
> 
> QSPI was never supported on rev 1.0 due to erratas, moreover rev 1.0s
> are not production version.

OK, thanks!

Reviewed-by: Tom Rini <trini@konsulko.com>

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20160526/eb76744f/attachment.sig>

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2016-05-26 15:49 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-05-20 10:41 [U-Boot] [PATCH] ARM: dts: dra7x: Support QSPI MODE-0 operation at 64MHz Vignesh R
2016-05-20 13:02 ` Tom Rini
2016-05-25  7:48   ` Vignesh R
2016-05-26 15:49     ` Tom Rini

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox