xref: /freebsd/sys/contrib/device-tree/Bindings/spi/brcm,bcm2835-spi.txt (revision 02e9120893770924227138ba49df1edb3896112a)
1Broadcom BCM2835 SPI0 controller
2
3The BCM2835 contains two forms of SPI master controller, one known simply as
4SPI0, and the other known as the "Universal SPI Master"; part of the
5auxiliary block. This binding applies to the SPI0 controller.
6
7Required properties:
8- compatible: Should be one of "brcm,bcm2835-spi" for BCM2835/2836/2837 or
9  "brcm,bcm2711-spi" for BCM2711 or "brcm,bcm7211-spi" for BCM7211.
10- reg: Should contain register location and length.
11- interrupts: Should contain interrupt.
12- clocks: The clock feeding the SPI controller.
13
14Example:
15
16spi@20204000 {
17	compatible = "brcm,bcm2835-spi";
18	reg = <0x7e204000 0x1000>;
19	interrupts = <2 22>;
20	clocks = <&clk_spi>;
21	#address-cells = <1>;
22	#size-cells = <0>;
23};
24