| 
     1 OMAP2+ McSPI device
    2 
    3 Required properties:
    4 - compatible :
    5   - "ti,am654-mcspi" for AM654.
    6   - "ti,omap2-mcspi" for OMAP2 & OMAP3.
    7   - "ti,omap4-mcspi" for OMAP4+.
    8 - ti,spi-num-cs : Number of chipselect supported  by the instance.
    9 - ti,hwmods: Name of the hwmod associated to the McSPI
   10 - ti,pindir-d0-out-d1-in: Select the D0 pin as output and D1 as
   11                           input. The default is D0 as input and
   12                           D1 as output.
   13 
   14 Optional properties:
   15 - dmas: List of DMA specifiers with the controller specific format
   16         as described in the generic DMA client binding. A tx and rx
   17         specifier is required for each chip select.
   18 - dma-names: List of DMA request names. These strings correspond
   19         1:1 with the DMA specifiers listed in dmas. The string naming
   20         is to be "rxN" and "txN" for RX and TX requests,
   21         respectively, where N equals the chip select number.
   22 
   23 Examples:
   24 
   25 [hwmod populated DMA resources]
   26 
   27 mcspi1: mcspi@1 {
   28     #address-cells = <1>;
   29     #size-cells = <0>;
   30     compatible = "ti,omap4-mcspi";
   31     ti,hwmods = "mcspi1";
   32     ti,spi-num-cs = <4>;
   33 };
   34 
   35 [generic DMA request binding]
   36 
   37 mcspi1: mcspi@1 {
   38     #address-cells = <1>;
   39     #size-cells = <0>;
   40     compatible = "ti,omap4-mcspi";
   41     ti,hwmods = "mcspi1";
   42     ti,spi-num-cs = <2>;
   43     dmas = <&edma 42
   44             &edma 43
   45             &edma 44
   46             &edma 45>;
   47     dma-names = "tx0", "rx0", "tx1", "rx1";
   48 };
Cache object: 84db954bc588d3658d1af754715a07b9 
 
 |