Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b7a19228 authored by Vignesh R's avatar Vignesh R Committed by Tony Lindgren
Browse files

ARM: dts: dra7x: Support QSPI MODE-0 operation at 64MHz



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: default avatarVignesh R <vigneshr@ti.com>
Acked-by: default avatarRob Herring <robh@kernel.org>
Signed-off-by: default avatarTony Lindgren <tony@atomide.com>
parent 62618078
Loading
Loading
Loading
Loading
+7 −0
Original line number Original line Diff line number Diff line
@@ -19,6 +19,13 @@ Optional properties:
- syscon-chipselects: Handle to system control region contains QSPI
- syscon-chipselects: Handle to system control region contains QSPI
		      chipselect register and offset of that register.
		      chipselect register and offset of that register.


NOTE: TI QSPI controller requires different pinmux and IODelay
paramaters for Mode-0 and Mode-3 operations, which needs to be set up by
the bootloader (U-Boot). Default configuration only supports Mode-0
operation. Hence, "spi-cpol" and "spi-cpha" DT properties cannot be
specified in the slave nodes of TI QSPI controller without appropriate
modification to bootloader.

Example:
Example:


For am4372:
For am4372:
+2 −4
Original line number Original line Diff line number Diff line
@@ -664,15 +664,13 @@
&qspi {
&qspi {
	status = "okay";
	status = "okay";


	spi-max-frequency = <48000000>;
	spi-max-frequency = <64000000>;
	m25p80@0 {
	m25p80@0 {
		compatible = "s25fl256s1";
		compatible = "s25fl256s1";
		spi-max-frequency = <48000000>;
		spi-max-frequency = <64000000>;
		reg = <0>;
		reg = <0>;
		spi-tx-bus-width = <1>;
		spi-tx-bus-width = <1>;
		spi-rx-bus-width = <4>;
		spi-rx-bus-width = <4>;
		spi-cpol;
		spi-cpha;
		#address-cells = <1>;
		#address-cells = <1>;
		#size-cells = <1>;
		#size-cells = <1>;


+2 −4
Original line number Original line Diff line number Diff line
@@ -681,15 +681,13 @@
&qspi {
&qspi {
	status = "okay";
	status = "okay";


	spi-max-frequency = <48000000>;
	spi-max-frequency = <64000000>;
	m25p80@0 {
	m25p80@0 {
		compatible = "s25fl256s1";
		compatible = "s25fl256s1";
		spi-max-frequency = <48000000>;
		spi-max-frequency = <64000000>;
		reg = <0>;
		reg = <0>;
		spi-tx-bus-width = <1>;
		spi-tx-bus-width = <1>;
		spi-rx-bus-width = <4>;
		spi-rx-bus-width = <4>;
		spi-cpol;
		spi-cpha;
		#address-cells = <1>;
		#address-cells = <1>;
		#size-cells = <1>;
		#size-cells = <1>;