39 lines · plain
1Broadcom BCM2835 auxiliary SPI1/2 controller2 3The BCM2835 contains two forms of SPI master controller, one known simply as4SPI0, and the other known as the "Universal SPI Master"; part of the5auxiliary block. This binding applies to the SPI1/2 controller.6 7Required properties:8- compatible: Should be "brcm,bcm2835-aux-spi".9- reg: Should contain register location and length for the spi block10- interrupts: Should contain shared interrupt of the aux block11- clocks: The clock feeding the SPI controller - needs to12 point to the auxiliary clock driver of the bcm2835,13 as this clock will enable the output gate for the specific14 clock.15- cs-gpios: the cs-gpios (native cs is NOT supported)16 see also spi-bus.txt17 18Example:19 20spi1@7e215080 {21 compatible = "brcm,bcm2835-aux-spi";22 reg = <0x7e215080 0x40>;23 interrupts = <1 29>;24 clocks = <&aux_clocks BCM2835_AUX_CLOCK_SPI1>;25 #address-cells = <1>;26 #size-cells = <0>;27 cs-gpios = <&gpio 18>, <&gpio 17>, <&gpio 16>;28};29 30spi2@7e2150c0 {31 compatible = "brcm,bcm2835-aux-spi";32 reg = <0x7e2150c0 0x40>;33 interrupts = <1 29>;34 clocks = <&aux_clocks BCM2835_AUX_CLOCK_SPI2>;35 #address-cells = <1>;36 #size-cells = <0>;37 cs-gpios = <&gpio 43>, <&gpio 44>, <&gpio 45>;38};39