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_atmel.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 Atmel SPI device
    2 
    3 Required properties:
    4 - compatible : should be "atmel,at91rm9200-spi" or "microchip,sam9x60-spi".
    5 - reg: Address and length of the register set for the device
    6 - interrupts: Should contain spi interrupt
    7 - cs-gpios: chipselects (optional for SPI controller version >= 2 with the
    8   Chip Select Active After Transfer feature).
    9 - clock-names: tuple listing input clock names.
   10         Required elements: "spi_clk"
   11 - clocks: phandles to input clocks.
   12 
   13 Optional properties:
   14 - atmel,fifo-size: maximum number of data the RX and TX FIFOs can store for FIFO
   15   capable SPI controllers.
   16 
   17 Example:
   18 
   19 spi1: spi@fffcc000 {
   20         compatible = "atmel,at91rm9200-spi";
   21         reg = <0xfffcc000 0x4000>;
   22         interrupts = <13 4 5>;
   23         #address-cells = <1>;
   24         #size-cells = <0>;
   25         clocks = <&spi1_clk>;
   26         clock-names = "spi_clk";
   27         cs-gpios = <&pioB 3 0>;
   28         atmel,fifo-size = <32>;
   29 
   30         mmc-slot@0 {
   31                 compatible = "mmc-spi-slot";
   32                 reg = <0>;
   33                 gpios = <&pioC 4 0>;    /* CD */
   34                 spi-max-frequency = <25000000>;
   35         };
   36 };

Cache object: f08d88577e9bb67881f2b5fc19614ae4


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