1*47aab533SBjorn HelgaasBroadcom BCM2835 auxiliary SPI1/2 controller 2541cf5deSMartin Sperl 3541cf5deSMartin SperlThe BCM2835 contains two forms of SPI master controller, one known simply as 4541cf5deSMartin SperlSPI0, and the other known as the "Universal SPI Master"; part of the 5541cf5deSMartin Sperlauxiliary block. This binding applies to the SPI1/2 controller. 6541cf5deSMartin Sperl 7541cf5deSMartin SperlRequired properties: 8541cf5deSMartin Sperl- compatible: Should be "brcm,bcm2835-aux-spi". 9541cf5deSMartin Sperl- reg: Should contain register location and length for the spi block 10541cf5deSMartin Sperl- interrupts: Should contain shared interrupt of the aux block 11541cf5deSMartin Sperl- clocks: The clock feeding the SPI controller - needs to 12*47aab533SBjorn Helgaas point to the auxiliary clock driver of the bcm2835, 13541cf5deSMartin Sperl as this clock will enable the output gate for the specific 14541cf5deSMartin Sperl clock. 15541cf5deSMartin Sperl- cs-gpios: the cs-gpios (native cs is NOT supported) 16541cf5deSMartin Sperl see also spi-bus.txt 17541cf5deSMartin Sperl 18541cf5deSMartin SperlExample: 19541cf5deSMartin Sperl 20541cf5deSMartin Sperlspi1@7e215080 { 21541cf5deSMartin Sperl compatible = "brcm,bcm2835-aux-spi"; 22541cf5deSMartin Sperl reg = <0x7e215080 0x40>; 23541cf5deSMartin Sperl interrupts = <1 29>; 24541cf5deSMartin Sperl clocks = <&aux_clocks BCM2835_AUX_CLOCK_SPI1>; 25541cf5deSMartin Sperl #address-cells = <1>; 26541cf5deSMartin Sperl #size-cells = <0>; 27541cf5deSMartin Sperl cs-gpios = <&gpio 18>, <&gpio 17>, <&gpio 16>; 28541cf5deSMartin Sperl}; 29541cf5deSMartin Sperl 30541cf5deSMartin Sperlspi2@7e2150c0 { 31541cf5deSMartin Sperl compatible = "brcm,bcm2835-aux-spi"; 32541cf5deSMartin Sperl reg = <0x7e2150c0 0x40>; 33541cf5deSMartin Sperl interrupts = <1 29>; 34541cf5deSMartin Sperl clocks = <&aux_clocks BCM2835_AUX_CLOCK_SPI2>; 35541cf5deSMartin Sperl #address-cells = <1>; 36541cf5deSMartin Sperl #size-cells = <0>; 37541cf5deSMartin Sperl cs-gpios = <&gpio 43>, <&gpio 44>, <&gpio 45>; 38541cf5deSMartin Sperl}; 39