18c2ecf20Sopenharmony_ciBroadcom BCM2835 SPI0 controller 28c2ecf20Sopenharmony_ci 38c2ecf20Sopenharmony_ciThe BCM2835 contains two forms of SPI master controller, one known simply as 48c2ecf20Sopenharmony_ciSPI0, and the other known as the "Universal SPI Master"; part of the 58c2ecf20Sopenharmony_ciauxiliary block. This binding applies to the SPI0 controller. 68c2ecf20Sopenharmony_ci 78c2ecf20Sopenharmony_ciRequired properties: 88c2ecf20Sopenharmony_ci- compatible: Should be one of "brcm,bcm2835-spi" for BCM2835/2836/2837 or 98c2ecf20Sopenharmony_ci "brcm,bcm2711-spi" for BCM2711 or "brcm,bcm7211-spi" for BCM7211. 108c2ecf20Sopenharmony_ci- reg: Should contain register location and length. 118c2ecf20Sopenharmony_ci- interrupts: Should contain interrupt. 128c2ecf20Sopenharmony_ci- clocks: The clock feeding the SPI controller. 138c2ecf20Sopenharmony_ci 148c2ecf20Sopenharmony_ciExample: 158c2ecf20Sopenharmony_ci 168c2ecf20Sopenharmony_cispi@20204000 { 178c2ecf20Sopenharmony_ci compatible = "brcm,bcm2835-spi"; 188c2ecf20Sopenharmony_ci reg = <0x7e204000 0x1000>; 198c2ecf20Sopenharmony_ci interrupts = <2 22>; 208c2ecf20Sopenharmony_ci clocks = <&clk_spi>; 218c2ecf20Sopenharmony_ci #address-cells = <1>; 228c2ecf20Sopenharmony_ci #size-cells = <0>; 238c2ecf20Sopenharmony_ci}; 24