]> git.karo-electronics.de Git - linux-beck.git/commitdiff
ARM: dts: dra7x: Support QSPI MODE-0 operation at 64MHz
authorVignesh R <vigneshr@ti.com>
Wed, 20 Apr 2016 11:33:00 +0000 (17:03 +0530)
committerTony Lindgren <tony@atomide.com>
Tue, 26 Apr 2016 17:52:19 +0000 (10:52 -0700)
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>
Acked-by: Rob Herring <robh@kernel.org>
Signed-off-by: Tony Lindgren <tony@atomide.com>
Documentation/devicetree/bindings/spi/ti_qspi.txt
arch/arm/boot/dts/dra7-evm.dts
arch/arm/boot/dts/dra72-evm-common.dtsi

index cc8304aa64ac55400636d1c8e4b2559310f9ef62..50b14f6b53a38c6f5390c927dd18be0e9aa711e9 100644 (file)
@@ -19,6 +19,13 @@ Optional properties:
 - syscon-chipselects: Handle to system control region contains QSPI
                      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:
 
 For am4372:
index 98bc5ca43340dbc9829edd2cdd0c4b12d8303252..bafcfac067ecdd5c29bc99d8a942d377e4afbd66 100644 (file)
 &qspi {
        status = "okay";
 
-       spi-max-frequency = <48000000>;
+       spi-max-frequency = <64000000>;
        m25p80@0 {
                compatible = "s25fl256s1";
-               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>;
 
index 2894759276d0484b139f423bbf44c554bccca367..093538ea5b5fd54cbb2002e774db3bd9e3cf9b64 100644 (file)
 &qspi {
        status = "okay";
 
-       spi-max-frequency = <48000000>;
+       spi-max-frequency = <64000000>;
        m25p80@0 {
                compatible = "s25fl256s1";
-               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>;