Merge tag 'trace-3.18' of git://git.kernel.org/pub/scm/linux/kernel/git/rostedt/linux...
[sfrench/cifs-2.6.git] / Documentation / devicetree / bindings / spi / fsl-imx-cspi.txt
1 * Freescale (Enhanced) Configurable Serial Peripheral Interface
2   (CSPI/eCSPI) for i.MX
3
4 Required properties:
5 - compatible : Should be "fsl,<soc>-cspi" or "fsl,<soc>-ecspi"
6 - reg : Offset and length of the register set for the device
7 - interrupts : Should contain CSPI/eCSPI interrupt
8 - fsl,spi-num-chipselects : Contains the number of the chipselect
9 - cs-gpios : Specifies the gpio pins to be used for chipselects.
10 - dmas: DMA specifiers for tx and rx dma. See the DMA client binding,
11                 Documentation/devicetree/bindings/dma/dma.txt
12 - dma-names: DMA request names should include "tx" and "rx" if present.
13
14 Example:
15
16 ecspi@70010000 {
17         #address-cells = <1>;
18         #size-cells = <0>;
19         compatible = "fsl,imx51-ecspi";
20         reg = <0x70010000 0x4000>;
21         interrupts = <36>;
22         fsl,spi-num-chipselects = <2>;
23         cs-gpios = <&gpio3 24 0>, /* GPIO3_24 */
24                    <&gpio3 25 0>; /* GPIO3_25 */
25         dmas = <&sdma 3 7 1>, <&sdma 4 7 2>;
26         dma-names = "rx", "tx";
27 };