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-img-spfi.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 IMG Synchronous Peripheral Flash Interface (SPFI) controller
    2 
    3 Required properties:
    4 - compatible: Must be "img,spfi".
    5 - reg: Must contain the base address and length of the SPFI registers.
    6 - interrupts: Must contain the SPFI interrupt.
    7 - clocks: Must contain an entry for each entry in clock-names.
    8   See ../clock/clock-bindings.txt for details.
    9 - clock-names: Must include the following entries:
   10   - spfi: SPI operating clock
   11   - sys: SPI system interface clock
   12 - dmas: Must contain an entry for each entry in dma-names.
   13   See ../dma/dma.txt for details.
   14 - dma-names: Must include the following entries:
   15   - rx
   16   - tx
   17 - cs-gpios: Must specify the GPIOs used for chipselect lines.
   18 - #address-cells: Must be 1.
   19 - #size-cells: Must be 0.
   20 
   21 Optional properties:
   22 - img,supports-quad-mode: Should be set if the interface supports quad mode
   23   SPI transfers.
   24 - spfi-max-frequency: Maximum speed supported by the spfi block.
   25 
   26 Example:
   27 
   28 spi@18100f00 {
   29         compatible = "img,spfi";
   30         reg = <0x18100f00 0x100>;
   31         interrupts = <GIC_SHARED 22 IRQ_TYPE_LEVEL_HIGH>;
   32         clocks = <&spi_clk>, <&system_clk>;
   33         clock-names = "spfi", "sys";
   34         dmas = <&mdc 9 0xffffffff 0>, <&mdc 10 0xffffffff 0>;
   35         dma-names = "rx", "tx";
   36 
   37         #address-cells = <1>;
   38         #size-cells = <0>;
   39 };

Cache object: 58fbb8dc44dbbee34a80f46a6b9bcf0b


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