diff options
author | Jonas Gorski <jonas.gorski@gmail.com> | 2017-02-21 05:58:21 -0500 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2017-02-21 18:04:15 -0500 |
commit | 54e43b6085f12bec3718806d0bf6ba4a3e4b2078 (patch) | |
tree | 15b088aa649c87077e481acf0ecdbcbe7d54701f | |
parent | c29f08890ae337e398becf5ba586114553e99771 (diff) |
spi/bcm63xx: document bcm63xx SPI devicetree bindings
Add documentation for the bindings of the low speed SPI controller found
on most bcm63xx SoCs.
Signed-off-by: Jonas Gorski <jonas.gorski@gmail.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
-rw-r--r-- | Documentation/devicetree/bindings/spi/spi-bcm63xx.txt | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/spi/spi-bcm63xx.txt b/Documentation/devicetree/bindings/spi/spi-bcm63xx.txt new file mode 100644 index 000000000000..1c16f6692613 --- /dev/null +++ b/Documentation/devicetree/bindings/spi/spi-bcm63xx.txt | |||
@@ -0,0 +1,33 @@ | |||
1 | Binding for Broadcom BCM6348/BCM6358 SPI controller | ||
2 | |||
3 | Required properties: | ||
4 | - compatible: must contain one of "brcm,bcm6348-spi", "brcm,bcm6358-spi". | ||
5 | - reg: Base address and size of the controllers memory area. | ||
6 | - interrupts: Interrupt for the SPI block. | ||
7 | - clocks: phandle of the SPI clock. | ||
8 | - clock-names: has to be "spi". | ||
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@10000800 { | ||
21 | compatible = "brcm,bcm6368-spi", "brcm,bcm6358-spi"; | ||
22 | reg = <0x10000800 0x70c>; | ||
23 | |||
24 | interrupts = <1>; | ||
25 | |||
26 | clocks = <&clkctl 9>; | ||
27 | clock-names = "spi"; | ||
28 | |||
29 | num-cs = <5>; | ||
30 | |||
31 | #address-cells = <1>; | ||
32 | #size-cells = <0>; | ||
33 | }; | ||