summaryrefslogtreecommitdiff
path: root/Documentation/devicetree/bindings/spi/spi-bcm63xx-hsspi.txt
diff options
context:
space:
mode:
authorJonas Gorski <jonas.gorski@gmail.com>2017-03-01 12:08:13 +0300
committerMark Brown <broonie@kernel.org>2017-03-13 18:51:45 +0300
commit8c0951afd8a7585a4281980b9a21dcc8a419cad9 (patch)
tree1a35543341bbc1d03412aaee22297782abb5065a /Documentation/devicetree/bindings/spi/spi-bcm63xx-hsspi.txt
parentff18e1ef04e2073889569b07a5ddd54a6527917f (diff)
downloadlinux-8c0951afd8a7585a4281980b9a21dcc8a419cad9.tar.xz
spi/bcm63xx-hsspi: document bcm63xx HS SPI devicetree bindings
Add documentation for the bindings of the high speed SPI controller found on newer bcm63xx SoCs. Signed-off-by: Jonas Gorski <jonas.gorski@gmail.com> Acked-by: Rob Herring <robh@kernel.org> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'Documentation/devicetree/bindings/spi/spi-bcm63xx-hsspi.txt')
-rw-r--r--Documentation/devicetree/bindings/spi/spi-bcm63xx-hsspi.txt33
1 files changed, 33 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/spi/spi-bcm63xx-hsspi.txt b/Documentation/devicetree/bindings/spi/spi-bcm63xx-hsspi.txt
new file mode 100644
index 000000000000..37b29ee13860
--- /dev/null
+++ b/Documentation/devicetree/bindings/spi/spi-bcm63xx-hsspi.txt
@@ -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>;
+ };