18c2ecf20Sopenharmony_ciBroadcom BCM2835 auxiliar SPI1/2 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 SPI1/2 controller.
68c2ecf20Sopenharmony_ci
78c2ecf20Sopenharmony_ciRequired properties:
88c2ecf20Sopenharmony_ci- compatible: Should be "brcm,bcm2835-aux-spi".
98c2ecf20Sopenharmony_ci- reg: Should contain register location and length for the spi block
108c2ecf20Sopenharmony_ci- interrupts: Should contain shared interrupt of the aux block
118c2ecf20Sopenharmony_ci- clocks: The clock feeding the SPI controller - needs to
128c2ecf20Sopenharmony_ci	  point to the auxiliar clock driver of the bcm2835,
138c2ecf20Sopenharmony_ci	  as this clock will enable the output gate for the specific
148c2ecf20Sopenharmony_ci	  clock.
158c2ecf20Sopenharmony_ci- cs-gpios: the cs-gpios (native cs is NOT supported)
168c2ecf20Sopenharmony_ci	    see also spi-bus.txt
178c2ecf20Sopenharmony_ci
188c2ecf20Sopenharmony_ciExample:
198c2ecf20Sopenharmony_ci
208c2ecf20Sopenharmony_cispi1@7e215080 {
218c2ecf20Sopenharmony_ci	compatible = "brcm,bcm2835-aux-spi";
228c2ecf20Sopenharmony_ci	reg = <0x7e215080 0x40>;
238c2ecf20Sopenharmony_ci	interrupts = <1 29>;
248c2ecf20Sopenharmony_ci	clocks = <&aux_clocks BCM2835_AUX_CLOCK_SPI1>;
258c2ecf20Sopenharmony_ci	#address-cells = <1>;
268c2ecf20Sopenharmony_ci	#size-cells = <0>;
278c2ecf20Sopenharmony_ci	cs-gpios = <&gpio 18>, <&gpio 17>, <&gpio 16>;
288c2ecf20Sopenharmony_ci};
298c2ecf20Sopenharmony_ci
308c2ecf20Sopenharmony_cispi2@7e2150c0 {
318c2ecf20Sopenharmony_ci	compatible = "brcm,bcm2835-aux-spi";
328c2ecf20Sopenharmony_ci	reg = <0x7e2150c0 0x40>;
338c2ecf20Sopenharmony_ci	interrupts = <1 29>;
348c2ecf20Sopenharmony_ci	clocks = <&aux_clocks BCM2835_AUX_CLOCK_SPI2>;
358c2ecf20Sopenharmony_ci	#address-cells = <1>;
368c2ecf20Sopenharmony_ci	#size-cells = <0>;
378c2ecf20Sopenharmony_ci	cs-gpios = <&gpio 43>, <&gpio 44>, <&gpio 45>;
388c2ecf20Sopenharmony_ci};
39