The Design and Implementation of the FreeBSD Operating System, Second Edition
Now available: The Design and Implementation of the FreeBSD Operating System (Second Edition)


[ source navigation ] [ diff markup ] [ identifier search ] [ freetext search ] [ file search ] [ list types ] [ track identifier ]

FreeBSD/Linux Kernel Cross Reference
sys/contrib/device-tree/Bindings/spi/omap-spi.txt

Version: -  FREEBSD  -  FREEBSD-13-STABLE  -  FREEBSD-13-0  -  FREEBSD-12-STABLE  -  FREEBSD-12-0  -  FREEBSD-11-STABLE  -  FREEBSD-11-0  -  FREEBSD-10-STABLE  -  FREEBSD-10-0  -  FREEBSD-9-STABLE  -  FREEBSD-9-0  -  FREEBSD-8-STABLE  -  FREEBSD-8-0  -  FREEBSD-7-STABLE  -  FREEBSD-7-0  -  FREEBSD-6-STABLE  -  FREEBSD-6-0  -  FREEBSD-5-STABLE  -  FREEBSD-5-0  -  FREEBSD-4-STABLE  -  FREEBSD-3-STABLE  -  FREEBSD22  -  l41  -  OPENBSD  -  linux-2.6  -  MK84  -  PLAN9  -  xnu-8792 
SearchContext: -  none  -  3  -  10 

    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


[ source navigation ] [ diff markup ] [ identifier search ] [ freetext search ] [ file search ] [ list types ] [ track identifier ]


This page is part of the FreeBSD/Linux Linux Kernel Cross-Reference, and was automatically generated using a modified version of the LXR engine.