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/brcm,bcm2835-aux-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 Broadcom BCM2835 auxiliar SPI1/2 controller
    2 
    3 The BCM2835 contains two forms of SPI master controller, one known simply as
    4 SPI0, and the other known as the "Universal SPI Master"; part of the
    5 auxiliary block. This binding applies to the SPI1/2 controller.
    6 
    7 Required properties:
    8 - compatible: Should be "brcm,bcm2835-aux-spi".
    9 - reg: Should contain register location and length for the spi block
   10 - interrupts: Should contain shared interrupt of the aux block
   11 - clocks: The clock feeding the SPI controller - needs to
   12           point to the auxiliar clock driver of the bcm2835,
   13           as this clock will enable the output gate for the specific
   14           clock.
   15 - cs-gpios: the cs-gpios (native cs is NOT supported)
   16             see also spi-bus.txt
   17 
   18 Example:
   19 
   20 spi1@7e215080 {
   21         compatible = "brcm,bcm2835-aux-spi";
   22         reg = <0x7e215080 0x40>;
   23         interrupts = <1 29>;
   24         clocks = <&aux_clocks BCM2835_AUX_CLOCK_SPI1>;
   25         #address-cells = <1>;
   26         #size-cells = <0>;
   27         cs-gpios = <&gpio 18>, <&gpio 17>, <&gpio 16>;
   28 };
   29 
   30 spi2@7e2150c0 {
   31         compatible = "brcm,bcm2835-aux-spi";
   32         reg = <0x7e2150c0 0x40>;
   33         interrupts = <1 29>;
   34         clocks = <&aux_clocks BCM2835_AUX_CLOCK_SPI2>;
   35         #address-cells = <1>;
   36         #size-cells = <0>;
   37         cs-gpios = <&gpio 43>, <&gpio 44>, <&gpio 45>;
   38 };

Cache object: 5b1e04d7ee069c000c0c19f41bb9dc11


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