aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarek Vasut <marex@denx.de>2012-08-03 11:26:14 -0400
committerMark Brown <broonie@opensource.wolfsonmicro.com>2012-08-17 17:54:20 -0400
commit4ad1e5b5d1dde19f09e728ba8b5164968f9dabeb (patch)
treebc1d91c6895dc070da3a6aafd1d5e31ac6b88ef5
parent474afc042fb9db8f88b68243f78a38cb764692fc (diff)
spi/mxs: Add SSP/SPI device tree documentation
Signed-off-by: Marek Vasut <marex@denx.de> Acked-by: Chris Ball <cjb@laptop.org> Acked-by: Shawn Guo <shawn.guo@linaro.org> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
-rw-r--r--Documentation/devicetree/bindings/spi/mxs-spi.txt18
1 files changed, 18 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/spi/mxs-spi.txt b/Documentation/devicetree/bindings/spi/mxs-spi.txt
new file mode 100644
index 000000000000..c36296f5ad28
--- /dev/null
+++ b/Documentation/devicetree/bindings/spi/mxs-spi.txt
@@ -0,0 +1,18 @@
1* Freescale MX233/MX28 SSP/SPI
2
3Required properties:
4- compatible: Should be "fsl,<soc>-spi", where soc is "imx23" or "imx28"
5- reg: Offset and length of the register set for the device
6- interrupts: Should contain SSP interrupts (error irq first, dma irq second)
7- fsl,ssp-dma-channel: APBX DMA channel for the SSP
8
9Example:
10
11ssp0: ssp@80010000 {
12 #address-cells = <1>;
13 #size-cells = <0>;
14 compatible = "fsl,imx28-spi";
15 reg = <0x80010000 0x2000>;
16 interrupts = <96 82>;
17 fsl,ssp-dma-channel = <0>;
18};