Merge tag 'for-linus' of git://linux-c6x.org/git/projects/linux-c6x-upstreaming
[sfrench/cifs-2.6.git] / Documentation / devicetree / bindings / spi / spi-bcm63xx-hsspi.txt
1 Binding for Broadcom BCM6328 High Speed SPI controller
2
3 Required properties:
4 - compatible: must contain of "brcm,bcm6328-hsspi".
5 - reg: Base address and size of the controllers memory area.
6 - interrupts: Interrupt for the SPI block.
7 - clocks: phandles of the SPI clock and the PLL clock.
8 - clock-names: must be "hsspi", "pll".
9 - #address-cells: <1>, as required by generic SPI binding.
10 - #size-cells: <0>, also as required by generic SPI binding.
11
12 Optional properties:
13 - num-cs: some controllers have less than 8 cs signals. Defaults to 8
14   if absent.
15
16 Child nodes as per the generic SPI binding.
17
18 Example:
19
20         spi@10001000 {
21                 compatible = "brcm,bcm6328-hsspi";
22                 reg = <0x10001000 0x600>;
23
24                 interrupts = <29>;
25
26                 clocks = <&clkctl 9>, <&hsspi_pll>;
27                 clock-names = "hsspi", "pll";
28
29                 num-cs = <2>;
30
31                 #address-cells = <1>;
32                 #size-cells = <0>;
33         };