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/spi-sirf.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 * CSR SiRFprimaII Serial Peripheral Interface
    2 
    3 Required properties:
    4 - compatible : Should be "sirf,prima2-spi", "sirf,prima2-usp"
    5                or "sirf,atlas7-usp"
    6 - reg : Offset and length of the register set for the device
    7 - interrupts : Should contain SPI interrupt
    8 - resets: phandle to the reset controller asserting this device in
    9           reset
   10   See ../reset/reset.txt for details.
   11 - dmas : Must contain an entry for each entry in clock-names.
   12   See ../dma/dma.txt for details.
   13 - dma-names : Must include the following entries:
   14   - rx
   15   - tx
   16 - clocks : Must contain an entry for each entry in clock-names.
   17   See ../clocks/clock-bindings.txt for details.
   18 
   19 - #address-cells: Number of cells required to define a chip select
   20                   address on the SPI bus. Should be set to 1.
   21 - #size-cells:    Should be zero.
   22 
   23 Optional properties:
   24 - spi-max-frequency: Specifies maximum SPI clock frequency,
   25                      Units - Hz. Definition as per
   26                      Documentation/devicetree/bindings/spi/spi-bus.txt
   27 - cs-gpios:     should specify GPIOs used for chipselects.
   28 
   29 Example:
   30 
   31 spi0: spi@b00d0000 {
   32         compatible = "sirf,prima2-spi";
   33         reg = <0xb00d0000 0x10000>;
   34         interrupts = <15>;
   35         dmas = <&dmac1 9>,
   36                 <&dmac1 4>;
   37         dma-names = "rx", "tx";
   38         #address-cells = <1>;
   39         #size-cells = <0>;
   40         clocks = <&clks 19>;
   41         resets = <&rstc 26>;
   42 };

Cache object: c366102147e861ec27441725b8a6ab4b


[ 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.