devicetree: Add ARM pl022 spi controller binding doc
authorRob Herring <rob.herring@calxeda.com>
Fri, 23 Sep 2011 14:56:53 +0000 (09:56 -0500)
committerRob Herring <rob.herring@calxeda.com>
Wed, 5 Oct 2011 12:39:56 +0000 (07:39 -0500)
Add binding documentation for ARM's Primecell PL022 SPI controller.

Signed-off-by: Rob Herring <rob.herring@calxeda.com>
Documentation/devicetree/bindings/spi/spi_pl022.txt [new file with mode: 0644]

diff --git a/Documentation/devicetree/bindings/spi/spi_pl022.txt b/Documentation/devicetree/bindings/spi/spi_pl022.txt
new file mode 100644 (file)
index 0000000..306ec3f
--- /dev/null
@@ -0,0 +1,12 @@
+ARM PL022 SPI controller
+
+Required properties:
+- compatible : "arm,pl022", "arm,primecell"
+- reg : Offset and length of the register set for the device
+- interrupts : Should contain SPI controller interrupt
+
+Optional properties:
+- cs-gpios : should specify GPIOs used for chipselects.
+  The gpios will be referred to as reg = <index> in the SPI child nodes.
+  If unspecified, a single SPI device without a chip select can be used.
+