arm64: dts: ti: am654-base-board: Enable 8D-8D-8D mode on OSPI
authorPratyush Yadav <p.yadav@ti.com>
Fri, 5 Mar 2021 15:39:25 +0000 (21:09 +0530)
committerNishanth Menon <nm@ti.com>
Thu, 11 Mar 2021 14:12:45 +0000 (08:12 -0600)
Set the Tx bus width to 8 so 8D-8D-8D mode can be selected. Change the
frequency to 25 MHz. This is the frequency that the flash has been
successfully tested with in Octal DTR mode. The total performance should
still increase since 8D-8D-8D mode should be at least twice as fast as
1S-1S-8S mode.

Signed-off-by: Pratyush Yadav <p.yadav@ti.com>
Signed-off-by: Nishanth Menon <nm@ti.com>
Reviewed-by: Vignesh Raghavendra <vigneshr@ti.com>
Link: https://lore.kernel.org/r/20210305153926.3479-3-p.yadav@ti.com
arch/arm64/boot/dts/ti/k3-am654-base-board.dts

index fe304394390619316c6c307eb07601f7d1f0ed71..9e87fb313a541c5d25b40539494de6f6dec02b13 100644 (file)
        flash@0{
                compatible = "jedec,spi-nor";
                reg = <0x0>;
-               spi-tx-bus-width = <1>;
+               spi-tx-bus-width = <8>;
                spi-rx-bus-width = <8>;
-               spi-max-frequency = <40000000>;
+               spi-max-frequency = <25000000>;
                cdns,tshsl-ns = <60>;
                cdns,tsd2d-ns = <60>;
                cdns,tchsh-ns = <60>;