浏览代码

ARM: shmobile: koelsch: Fix QSPI mode of SPI-Flash into mode3

In order to change into mode3, CPOL and CPHA bit of SPCMD register
of QSPI is changed. Mode3 can avoid intermediate voltage.

Signed-off-by: Hisashi Nakamura <hisashi.nakamura.ak@renesas.com>
[horms: Updated changelog and re-ordered properties]
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
Acked-by: Geert Uytterhoeven <geert+renesas@glider.be>
Hisashi Nakamura 10 年之前
父节点
当前提交
9c5becce21
共有 1 个文件被更改,包括 2 次插入0 次删除
  1. 2 0
      arch/arm/boot/dts/r8a7791-koelsch.dts

+ 2 - 0
arch/arm/boot/dts/r8a7791-koelsch.dts

@@ -444,6 +444,8 @@
 		spi-max-frequency = <30000000>;
 		spi-max-frequency = <30000000>;
 		spi-tx-bus-width = <4>;
 		spi-tx-bus-width = <4>;
 		spi-rx-bus-width = <4>;
 		spi-rx-bus-width = <4>;
+		spi-cpha;
+		spi-cpol;
 		m25p,fast-read;
 		m25p,fast-read;
 
 
 		partition@0 {
 		partition@0 {