Back to home page

OSCL-LXR

 
 

    


0001 Broadcom BCM2835 SPI0 controller
0002 
0003 The BCM2835 contains two forms of SPI master controller, one known simply as
0004 SPI0, and the other known as the "Universal SPI Master"; part of the
0005 auxiliary block. This binding applies to the SPI0 controller.
0006 
0007 Required properties:
0008 - compatible: Should be one of "brcm,bcm2835-spi" for BCM2835/2836/2837 or
0009   "brcm,bcm2711-spi" for BCM2711 or "brcm,bcm7211-spi" for BCM7211.
0010 - reg: Should contain register location and length.
0011 - interrupts: Should contain interrupt.
0012 - clocks: The clock feeding the SPI controller.
0013 
0014 Example:
0015 
0016 spi@20204000 {
0017         compatible = "brcm,bcm2835-spi";
0018         reg = <0x7e204000 0x1000>;
0019         interrupts = <2 22>;
0020         clocks = <&clk_spi>;
0021         #address-cells = <1>;
0022         #size-cells = <0>;
0023 };