summaryrefslogtreecommitdiff
path: root/Documentation/devicetree/bindings
diff options
context:
space:
mode:
authorChao Fu <B44548@freescale.com>2014-09-28 02:27:07 (GMT)
committerMatthew Weigel <Matthew.Weigel@freescale.com>2014-12-11 18:37:30 (GMT)
commit7f64109228271ecbac063c99954d55767c4ca8e7 (patch)
tree5ba0cdfde323039b3f50332e4362c86aefd6b676 /Documentation/devicetree/bindings
parent78e5793dbd53dbbbcea92434d9da002435ddcff8 (diff)
downloadlinux-fsl-qoriq-7f64109228271ecbac063c99954d55767c4ca8e7.tar.xz
Documentation: fsl-quadspi: update the document
The patch updates the document by adding more information to describe the DT proporties used by the Freescale Quadspi driver and the childs nodes. For the child node for SPI NOR flash, we add the required property ("spi-max-frequency"), and refer to spi-nor-flash.txt for the optional properties. Signed-off-by: Huang Shijie <b32955@freescale.com> The upstream status of this patch: http://patchwork.ozlabs.org/patch/343229/ Change-Id: Ib625035f0fd863840eca9dce66699836883bdfe3 Reviewed-on: http://git.am.freescale.net:8181/20128 Reviewed-by: Zhengxiong Jin <Jason.Jin@freescale.com> Tested-by: Zhengxiong Jin <Jason.Jin@freescale.com>
Diffstat (limited to 'Documentation/devicetree/bindings')
-rw-r--r--Documentation/devicetree/bindings/mtd/fsl-quadspi.txt16
1 files changed, 16 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/mtd/fsl-quadspi.txt b/Documentation/devicetree/bindings/mtd/fsl-quadspi.txt
index 823d134..7e1dbaf 100644
--- a/Documentation/devicetree/bindings/mtd/fsl-quadspi.txt
+++ b/Documentation/devicetree/bindings/mtd/fsl-quadspi.txt
@@ -1,5 +1,11 @@
* Freescale Quad Serial Peripheral Interface(QuadSPI)
+The QuadSPI controller acts as the SPI master. It is described with a node
+for the controller and a set of child nodes for each SPI NOR flash.
+
+Part I - The DT node for the controller:
+------------------------------
+
Required properties:
- compatible : Should be "fsl,vf610-qspi"
- reg : the first contains the register location and length,
@@ -18,6 +24,16 @@ Optional properties:
bus, you should enable this property.
(Please check the board's schematic.)
+Part II - The DT nodes for each SPI NOR flash
+------------------------------
+Required properties:
+- spi-max-frequency : Maximum frequency of the SPI bus the chip can operate at
+
+Optional properties:
+ Please refer to the Documentation/devicetree/bindings/mtd/spi-nor-flash.txt
+ If you set the "spi-nor,ddr-quad-read-dummy", it means you enable the DDR
+ quad read feature for the driver.
+
Example:
qspi0: quadspi@40044000 {