Tom Rini | 53633a8 | 2024-02-29 12:33:36 -0500 | [diff] [blame] | 1 | Broadcom BCM2835 SPI0 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 SPI0 controller. |
| 6 | |
| 7 | Required 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 | |
| 14 | Example: |
| 15 | |
| 16 | spi@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 | }; |