Merge branches 'pm-cpufreq', 'pm-cpuidle', 'pm-devfreq', 'pm-opp' and 'pm-tools'
[linux-drm-fsl-dcu.git] / Documentation / devicetree / bindings / spi / spi-sirf.txt
1 * CSR SiRFprimaII Serial Peripheral Interface
2
3 Required properties:
4 - compatible : Should be "sirf,prima2-spi"
5 - reg : Offset and length of the register set for the device
6 - interrupts : Should contain SPI interrupt
7 - resets: phandle to the reset controller asserting this device in
8           reset
9   See ../reset/reset.txt for details.
10 - dmas : Must contain an entry for each entry in clock-names.
11   See ../dma/dma.txt for details.
12 - dma-names : Must include the following entries:
13   - rx
14   - tx
15 - clocks : Must contain an entry for each entry in clock-names.
16   See ../clocks/clock-bindings.txt for details.
17
18 - #address-cells: Number of cells required to define a chip select
19                   address on the SPI bus. Should be set to 1.
20 - #size-cells:    Should be zero.
21
22 Optional properties:
23 - spi-max-frequency: Specifies maximum SPI clock frequency,
24                      Units - Hz. Definition as per
25                      Documentation/devicetree/bindings/spi/spi-bus.txt
26 - cs-gpios:     should specify GPIOs used for chipselects.
27
28 Example:
29
30 spi0: spi@b00d0000 {
31         compatible = "sirf,prima2-spi";
32         reg = <0xb00d0000 0x10000>;
33         interrupts = <15>;
34         dmas = <&dmac1 9>,
35                 <&dmac1 4>;
36         dma-names = "rx", "tx";
37         #address-cells = <1>;
38         #size-cells = <0>;
39         clocks = <&clks 19>;
40         resets = <&rstc 26>;
41 };