xref: /OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/spi/brcm,bcm2835-spi.txt (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593SmuzhiyunBroadcom BCM2835 SPI0 controller
2*4882a593Smuzhiyun
3*4882a593SmuzhiyunThe BCM2835 contains two forms of SPI master controller, one known simply as
4*4882a593SmuzhiyunSPI0, and the other known as the "Universal SPI Master"; part of the
5*4882a593Smuzhiyunauxiliary block. This binding applies to the SPI0 controller.
6*4882a593Smuzhiyun
7*4882a593SmuzhiyunRequired properties:
8*4882a593Smuzhiyun- compatible: Should be one of "brcm,bcm2835-spi" for BCM2835/2836/2837 or
9*4882a593Smuzhiyun  "brcm,bcm2711-spi" for BCM2711 or "brcm,bcm7211-spi" for BCM7211.
10*4882a593Smuzhiyun- reg: Should contain register location and length.
11*4882a593Smuzhiyun- interrupts: Should contain interrupt.
12*4882a593Smuzhiyun- clocks: The clock feeding the SPI controller.
13*4882a593Smuzhiyun
14*4882a593SmuzhiyunExample:
15*4882a593Smuzhiyun
16*4882a593Smuzhiyunspi@20204000 {
17*4882a593Smuzhiyun	compatible = "brcm,bcm2835-spi";
18*4882a593Smuzhiyun	reg = <0x7e204000 0x1000>;
19*4882a593Smuzhiyun	interrupts = <2 22>;
20*4882a593Smuzhiyun	clocks = <&clk_spi>;
21*4882a593Smuzhiyun	#address-cells = <1>;
22*4882a593Smuzhiyun	#size-cells = <0>;
23*4882a593Smuzhiyun};
24