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-lantiq-ssc.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 Lantiq Synchronous Serial Controller (SSC) SPI master driver
    2 
    3 Required properties:
    4 - compatible: "lantiq,ase-spi", "lantiq,falcon-spi", "lantiq,xrx100-spi",
    5   "intel,lgm-spi"
    6 - #address-cells: see spi-bus.txt
    7 - #size-cells: see spi-bus.txt
    8 - reg: address and length of the spi master registers
    9 - interrupts:
   10   For compatible "intel,lgm-ssc" - the common interrupt number for
   11   all of tx rx & err interrupts.
   12        or
   13   For rest of the compatibles, should contain the "spi_rx", "spi_tx" and
   14   "spi_err" interrupt.
   15 
   16 
   17 Optional properties:
   18 - clocks: spi clock phandle
   19 - num-cs: see spi-bus.txt, set to 8 if unset
   20 - base-cs: the number of the first chip select, set to 1 if unset.
   21 
   22 Example:
   23 
   24 
   25 spi: spi@e100800 {
   26         compatible = "lantiq,xrx200-spi", "lantiq,xrx100-spi";
   27         reg = <0xE100800 0x100>;
   28         interrupt-parent = <&icu0>;
   29         interrupts = <22 23 24>;
   30         interrupt-names = "spi_rx", "spi_tx", "spi_err";
   31         #address-cells = <1>;
   32         #size-cells = <1>;
   33         num-cs = <6>;
   34         base-cs = <1>;
   35 };
   36 
   37 ssc0: spi@e0800000 {
   38         compatible = "intel,lgm-spi";
   39         reg = <0xe0800000 0x400>;
   40         interrupt-parent = <&ioapic1>;
   41         interrupts = <35 1>;
   42         #address-cells = <1>;
   43         #size-cells = <0>;
   44         clocks = <&cgu0 LGM_CLK_NGI>, <&cgu0 LGM_GCLK_SSC0>;
   45         clock-names = "freq", "gate";
   46 };

Cache object: ccc70a762d547b1c3464302ffabd03a9


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