938809c6829bfdffd6b14af8005a60c2e7e003be
[firefly-linux-kernel-4.4.55.git] / Documentation / devicetree / bindings / spi / omap-spi.txt
1 OMAP2+ McSPI device
2
3 Required properties:
4 - compatible :
5   - "ti,omap2-spi" for OMAP2 & OMAP3.
6   - "ti,omap4-spi" for OMAP4+.
7 - ti,spi-num-cs : Number of chipselect supported  by the instance.
8 - ti,hwmods: Name of the hwmod associated to the McSPI
9 - ti,pindir-d0-out-d1-in: Select the D0 pin as output and D1 as
10                           input. The default is D0 as input and
11                           D1 as output.
12
13 Example:
14
15 mcspi1: mcspi@1 {
16     #address-cells = <1>;
17     #size-cells = <0>;
18     compatible = "ti,omap4-mcspi";
19     ti,hwmods = "mcspi1";
20     ti,spi-num-cs = <4>;
21 };
22