162306a36Sopenharmony_ciBroadcom BCM2835 auxiliary SPI1/2 controller 262306a36Sopenharmony_ci 362306a36Sopenharmony_ciThe BCM2835 contains two forms of SPI master controller, one known simply as 462306a36Sopenharmony_ciSPI0, and the other known as the "Universal SPI Master"; part of the 562306a36Sopenharmony_ciauxiliary block. This binding applies to the SPI1/2 controller. 662306a36Sopenharmony_ci 762306a36Sopenharmony_ciRequired properties: 862306a36Sopenharmony_ci- compatible: Should be "brcm,bcm2835-aux-spi". 962306a36Sopenharmony_ci- reg: Should contain register location and length for the spi block 1062306a36Sopenharmony_ci- interrupts: Should contain shared interrupt of the aux block 1162306a36Sopenharmony_ci- clocks: The clock feeding the SPI controller - needs to 1262306a36Sopenharmony_ci point to the auxiliary clock driver of the bcm2835, 1362306a36Sopenharmony_ci as this clock will enable the output gate for the specific 1462306a36Sopenharmony_ci clock. 1562306a36Sopenharmony_ci- cs-gpios: the cs-gpios (native cs is NOT supported) 1662306a36Sopenharmony_ci see also spi-bus.txt 1762306a36Sopenharmony_ci 1862306a36Sopenharmony_ciExample: 1962306a36Sopenharmony_ci 2062306a36Sopenharmony_cispi1@7e215080 { 2162306a36Sopenharmony_ci compatible = "brcm,bcm2835-aux-spi"; 2262306a36Sopenharmony_ci reg = <0x7e215080 0x40>; 2362306a36Sopenharmony_ci interrupts = <1 29>; 2462306a36Sopenharmony_ci clocks = <&aux_clocks BCM2835_AUX_CLOCK_SPI1>; 2562306a36Sopenharmony_ci #address-cells = <1>; 2662306a36Sopenharmony_ci #size-cells = <0>; 2762306a36Sopenharmony_ci cs-gpios = <&gpio 18>, <&gpio 17>, <&gpio 16>; 2862306a36Sopenharmony_ci}; 2962306a36Sopenharmony_ci 3062306a36Sopenharmony_cispi2@7e2150c0 { 3162306a36Sopenharmony_ci compatible = "brcm,bcm2835-aux-spi"; 3262306a36Sopenharmony_ci reg = <0x7e2150c0 0x40>; 3362306a36Sopenharmony_ci interrupts = <1 29>; 3462306a36Sopenharmony_ci clocks = <&aux_clocks BCM2835_AUX_CLOCK_SPI2>; 3562306a36Sopenharmony_ci #address-cells = <1>; 3662306a36Sopenharmony_ci #size-cells = <0>; 3762306a36Sopenharmony_ci cs-gpios = <&gpio 43>, <&gpio 44>, <&gpio 45>; 3862306a36Sopenharmony_ci}; 39