Skip to content

Commit

Permalink
spi/bcm63xx-hsspi: document bcm63xx HS SPI devicetree bindings
Browse files Browse the repository at this point in the history
Add documentation for the bindings of the high speed SPI controller found
on newer bcm63xx SoCs.

Signed-off-by: Jonas Gorski <[email protected]>
Acked-by: Rob Herring <[email protected]>
Signed-off-by: Mark Brown <[email protected]>
  • Loading branch information
KanjiMonster authored and broonie committed Mar 13, 2017
1 parent ff18e1e commit 8c0951a
Showing 1 changed file with 33 additions and 0 deletions.
33 changes: 33 additions & 0 deletions Documentation/devicetree/bindings/spi/spi-bcm63xx-hsspi.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
Binding for Broadcom BCM6328 High Speed SPI controller

Required properties:
- compatible: must contain of "brcm,bcm6328-hsspi".
- reg: Base address and size of the controllers memory area.
- interrupts: Interrupt for the SPI block.
- clocks: phandles of the SPI clock and the PLL clock.
- clock-names: must be "hsspi", "pll".
- #address-cells: <1>, as required by generic SPI binding.
- #size-cells: <0>, also as required by generic SPI binding.

Optional properties:
- num-cs: some controllers have less than 8 cs signals. Defaults to 8
if absent.

Child nodes as per the generic SPI binding.

Example:

spi@10001000 {
compatible = "brcm,bcm6328-hsspi";
reg = <0x10001000 0x600>;

interrupts = <29>;

clocks = <&clkctl 9>, <&hsspi_pll>;
clock-names = "hsspi", "pll";

num-cs = <2>;

#address-cells = <1>;
#size-cells = <0>;
};

0 comments on commit 8c0951a

Please sign in to comment.