linux/Documentation/devicetree/bindings/spi/omap-spi.txt
<<
>>
Prefs
   1OMAP2+ McSPI device
   2
   3Required 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
  13Example:
  14
  15mcspi1: 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
  23